V3.0.3 eats all RAM Win7

Home Forums General Report a Bug V3.0.3 eats all RAM Win7

  • This topic is empty.
Viewing 15 posts - 1 through 15 (of 60 total)
  • Author
    Posts
  • #29891
    Jan
    Participant

    I have been unsing CFTPS version 3.0.0.B3 for 6 months in several builds of Win7 without any problem.

    Thank You Guys, Great program!

    Yesterday I updated to v3.0.3.1

    Update succeeded without any problem.

    CFTPS is started as an application, not as a service.

    V3.0.3.1 seems to eat all RAM and then causes an unstoppeble stream to be written to pagefile.sys.

    Harddisk is doing overtime, causing the system to be totaly lamed.

    After uninstalling 3.0.3.1 and reinstalling 3.0.0.B3 everything worked fine again.

    Win7RTM 1GB RAM

    image: http://mxworld.awardspace.us/ram.html

    Please help

    #35273
    imported_Serin
    Participant

    Hello Jan,

    We haven’t seen that symptom with any OS, nor has anyone else reported that issue but we did have one other person report a similar problem with disk activity. Are you running the x64 or 32 bit version of Cerberus?

    Any idea how to duplicate the problem? We are going to be releasing a new version of Cerberus FTP Server within the next few days with lots of performance improvements. We also have a new set of integration tests to really stress the server and look for problems and I will run a few series on a Windows 7 build we have here to see if I can duplicate the problem you are reporting.

    Thanks,

    #35274
    Jan
    Participant

    Hello Grant

    I use 32-bit version.

    Meanwhile I have done some testing.

    The memory problem in v3.0.3.1 occurs in Vista and Win7. In XP it runs without any problem.

    You can simply monitor the problem:

    1. Boot Windows Vista or 7

    2. Start Taskmanager and monitor Process memory

    3. Manual start CFTPS from desktop shortcut

    At Startup, for some seconds CFTPS uses up to 743.000K RAM and then cuts back to a still huge amount of 229.448K on idle

    On a computer with a P4 2800Mhz CPU and 1GB RAM and CFTPS autostarted, it seems endless before bootprocess is completed and CFTPS is online.

    The problem is related to Windows Vista and Windows 7.

    In Windows XP v.3.0.3.1 works fine with memory consumption limited to 7.708K

    Version 3.0.0.B3 works fine in Vista and Win7 with no more memory consumption then 5.584K RAM.

    Hope you can duplicate, monitor and solve the problem with this info.

    #35275
    imported_Serin
    Participant

    Very strange, I do most of my main development on a Windows Vista machine and I’ve have never seen the problem you reported. I’ll scour through the startup code to see if there is anything in the startup routine that could result in the huge memory pull. Would you be interested in trying a pre-release of our 3.0.4 baseline? It is stable and is probably the same version we will officially release.

    #35276
    imported_Serin
    Participant

    If you are interested, we’ve posted version 3.0.4 pre-release at

    http://www.cerberusftp.com/files/CerberusInstall304.exe

    There have been a lot of changes under-the-hood that might resolve your issue. Until we can duplicate your issue there is no way to tell for sure.

    #35277
    Jan
    Participant

    Hello Serin,

    I’ll download and test v3.0.4 and let you know the results.

    Thanks for your response.

    Added:

    Quick testresult on Win7 RTM:

    v3.0.4 still uses more then 600.000K at startup and 259.748K when online and idle.

    So the memory problem still exists in v3.0.4

    #35278
    imported_Serin
    Participant

    We’ve tested on both Windows 7 and Vista without any problems. No one else is reporting problems so it is very strange that you can duplicate the problem on both a Vista and Windows 7 PC. Is there anything you can tell me about your machine setup that might make it different from a typical machine setup? Some specific network setup or software that is installed on both? Are you running a non-English version of Windows by any chance?

    From your previous post it sounds like this problem happens immediately and doesn’t require a connection to the server. Is that accurate? This is going to be very difficult to troubleshoot without something really odd or obviously different about your setup, or without access to one of the machines for testing.

    Thanks!

    #35279
    Jan
    Participant

    First let me take away a misunderstanding.

    I have been testing on only one multiboot computer with multiple partitions/operating systems.

    All Windows versions (XP/Vista/Win7RC/Win7RTM) are English.

    Hardware: ASUS P4PE, P4 2400MHz, 1GB RAM, Broadcom 5702 onboard NIC.

    Software: ordinary stuff, no games, nothing special.

    Yes, the problem happens immediately as soon as CFTPS is started; No client required.

    The problem occurs only in Vista and Win7 partition, not in de XP partition.

    With v3.0.0.b3 there aren’t any problems with any O.S. (same machine / hardware / software / partitions)

    Thing to know:

    When CFTPS is started for the first time after a clean install, (getting the wizard which is entered with default settings) CFTPS comes online in a split second without any problem and with only 4.600K memory use.

    After a “shutdown and exit” and restart of CFTPS, the problem is there immediately with over 600.000K memory use at CFTPS startup and still over 200.000K memory use when it is online and idle. (it takes 10 to 40 seconds now before CFTPS is online. Because of memory swapping ?)

    Kaspersky (KIS) disabled didn’t make any difference.

    If you want to provide me with different versions between 3.0.0.b3 and 3.0.3, I can test after which update the problem occurs. Maybe that could deliver a clue for you.

    #35280
    mdj
    Participant

    I see the same problem with 304 on my english 32bit Vista Business SP1 (fully patched), dual core intel here at work – with lots of other stuff installed. I have tried to run filemon, lots of activity, but nothing supicious. I have also tried to observe it from procexp, but nothing pops out there neither – it is difficult though, as the system gets quite slow during Cerberus startup…

    It seems that every time I run Cerberus, the peek memory consumption gets higher than the previous time. I just installed it, started it, stopped it, and started it again, and then the issue began. After it has settled down, it looks normal, but it takes a while, while the memory consumption soars…

    #35281
    imported_Serin
    Participant

    Ok, thanks. I’m going to have to try to duplicate this problem myself.

    Do the normal startup log messages appear in the log window immediately, or do some of them only appear after the process finally settles down? What I mean is, “TLS/SSL support ready”, “Interface 1 listening at xxx.xxx.xxx.xxx on port xx”. Do the initialization messages appear fairly quickly, or is it a while before they all appear?

    Thanks,

    #35282
    imported_Serin
    Participant

    Do you guys see anything in the actual file log? It would be in the “C:ProgramDataCerberus LLCCerberus FTP Serverlog” directory (“C:Documents and SettingsAll UsersApplication DataCerberus LLCCerberus FTP Serverlog” on Windows XP). You can modify the “log4j.xml” file in the parent directory and change the root log level to “TRACE” for really verbose logging.

    Site note: I need to write up a help manual on the logging features sometime. There is a lot you can do that isn’t documented anywhere. Basically, the logging system is a C++ port of log4j, with many of the same log4j features.

    #35283
    mdj
    Participant

    I just had another run (with “TRACE” in the xml):

    [2009-09-10 09:52:43]: DEBUG [Server] – Command Thread Started

    [2009-09-10 09:52:43]: DEBUG [Server] – TimerThread Started

    [2009-09-10 09:52:45]: DEBUG [Server] – LoadXML failure: The operation completed successfully.

    [2009-09-10 09:52:45]: SYSTEM [Server] – Intel Core 2 with 2 processors

    [2009-09-10 09:52:45]: SYSTEM [Server] – Microsoft Windows Vista Business Edition

    [2009-09-10 09:52:45]: SYSTEM [Server] –

    [2009-09-10 09:52:45]: SYSTEM [Server] – Cerberus FTP Server 3.0.4 – Professional started on ‘MDJ004’

    [2009-09-10 09:52:45]: TRACE [Server] – WindowsFirewallAppIsEnabled – Authorized application ‘C:Program FilesCerberus LLCCerberus FTP ServerCerberusGUI.exe’ is enabled in the firewall

    [2009-09-10 09:52:45]: SYSTEM [Server] – Added to Windows Firewall Exception list

    [2009-09-10 09:52:45]: SYSTEM [Server] –

    [2009-09-10 09:53:02]: DEBUG [Server] – Could not open [C:ProgramDataCerberus LLCCerberus FTP Serverinterfaces.xml] : Not enough storage is available to complete this operation.(line 0, column 0)

    [2009-09-10 09:53:16]: SYSTEM [Server] – Interface 0 listening at 10.45.6.30 on port 21

    [2009-09-10 09:53:16]: SYSTEM [Server] –

    [2009-09-10 09:53:16]: SYSTEM [Server] – Interface 1 listening at 127.0.0.1 on port 21

    [2009-09-10 09:53:16]: SYSTEM [Server] –

    There are no loggings in the Cerberus Window, until after this, at 9:53:17, and that is just the usual (no TLS/SSL stuff though, this is a clean default installation with no additional configuration at all). Until that moment, the GUI is “frozen” and only partially updated (menu bar being all white and stuff).

    The only interesting thing I see is the DEBUG line from 9:53:02. The timing of it and the message pretty clearly says it all… And my interfaces.xml is 899 bytes (containing two interfaces), so it should not take up too much memory to read. :-) (BTW, the location is “C:ProgramDataCerberus LLC…” or “C:UsersAll UsersCerberus LLC…”, but you know that.) – and then there is also the DEBUG line at 9:52:45 talking about a successful failure… :-)

    #35284
    Jan
    Participant

    Log with 300 and 304 in Windows 7

    [2009-09-10 13:03:10]: DEBUG [Server] – Command Thread Started

    [2009-09-10 13:03:11]: SYSTEM [Server] – Intel Pentium IV with 1 processor

    [2009-09-10 13:03:11]: SYSTEM [Server] –

    [2009-09-10 13:03:11]: SYSTEM [Server] –

    [2009-09-10 13:03:11]: SYSTEM [Server] – Cerberus FTP Server 3.0.0 Beta 3 started on ‘ASUS’

    [2009-09-10 13:03:12]: SYSTEM [Server] – Added to Windows Firewall Exception list

    [2009-09-10 13:03:12]: SYSTEM [Server] –

    [2009-09-10 13:03:12]: SYSTEM [Server] – Interface 0 listening at 192.168.5.64 on port 21

    [2009-09-10 13:03:12]: SYSTEM [Server] –

    [2009-09-10 13:03:12]: SYSTEM [Server] – Interface 1 listening at 127.0.0.1 on port 21

    [2009-09-10 13:03:12]: SYSTEM [Server] –

    [2009-09-10 13:03:12]: DEBUG [Server] – TimerThread Started

    [2009-09-10 13:03:51]: DEBUG [Server] – TimerThread Terminating

    [2009-09-10 13:03:51]: DEBUG [Server] – Command Thread Terminating

    [2009-09-10 13:05:23]: DEBUG [Server] – Command Thread Started

    [2009-09-10 13:05:23]: DEBUG [Server] – TimerThread Started

    [2009-09-10 13:05:25]: DEBUG [Server] – LoadXML failure: The operation completed successfully.

    [2009-09-10 13:05:25]: SYSTEM [Server] – Intel Pentium IV with 1 processor

    [2009-09-10 13:05:25]: SYSTEM [Server] – Microsoft Windows 7

    [2009-09-10 13:05:25]: SYSTEM [Server] –

    [2009-09-10 13:05:25]: SYSTEM [Server] – Cerberus FTP Server 3.0.4 – Professional started on ‘ASUS’

    [2009-09-10 13:05:25]: TRACE [Server] – WindowsFirewallAppIsEnabled – Authorized application ‘C:Program FilesCerberus LLCCerberus FTP ServerCerberusGUI.exe’ is disabled in the firewall

    [2009-09-10 13:05:25]: TRACE [Server] – WindowsFirewallAddApp – Authorized application ‘C:Program FilesCerberus LLCCerberus FTP ServerCerberusGUI.exe’ is now enabled in the firewall

    [2009-09-10 13:05:25]: SYSTEM [Server] – Added to Windows Firewall Exception list

    [2009-09-10 13:05:25]: SYSTEM [Server] –

    [2009-09-10 13:06:42]: DEBUG [Server] – Could not open [C:ProgramDataCerberus LLCCerberus FTP Serverinterfaces.xml] : Not enough storage is available to complete this operation.(line 0, column 0)

    [2009-09-10 13:06:57]: SYSTEM [Server] – Interface 0 listening at 192.168.5.64 on port 21

    [2009-09-10 13:06:57]: SYSTEM [Server] –

    [2009-09-10 13:06:57]: SYSTEM [Server] – Interface 1 listening at 127.0.0.1 on port 21

    [2009-09-10 13:06:57]: SYSTEM [Server] –

    [2009-09-10 13:12:46]: DEBUG [Server] – TimerThread Terminating

    [2009-09-10 13:12:46]: DEBUG [Server] – Command Thread Terminating

    [2009-09-10 13:15:55]: DEBUG [Server] – Command Thread Started

    [2009-09-10 13:15:55]: SYSTEM [Server] – Intel Pentium IV with 1 processor

    [2009-09-10 13:15:55]: SYSTEM [Server] –

    [2009-09-10 13:15:55]: SYSTEM [Server] –

    [2009-09-10 13:15:55]: SYSTEM [Server] – Cerberus FTP Server 3.0.0 Beta 3 started on ‘ASUS’

    [2009-09-10 13:15:57]: SYSTEM [Server] – Added to Windows Firewall Exception list

    [2009-09-10 13:15:57]: SYSTEM [Server] –

    [2009-09-10 13:15:57]: SYSTEM [Server] – Interface 0 listening at 192.168.5.64 on port 21

    [2009-09-10 13:15:57]: SYSTEM [Server] –

    [2009-09-10 13:15:57]: SYSTEM [Server] – Interface 1 listening at 127.0.0.1 on port 21

    [2009-09-10 13:15:57]: SYSTEM [Server] –

    [2009-09-10 13:15:57]: DEBUG [Server] – TimerThread Started

    [2009-09-10 13:16:50]: DEBUG [Server] – TimerThread Terminating

    [2009-09-10 13:16:50]: DEBUG [Server] – Command Thread Terminating

    #35285
    imported_Serin
    Participant

    Thanks Jan,

    It looks like the massive slowdown happens here:

    [2009-09-10 13:05:25]: SYSTEM [Server] – Added to Windows Firewall Exception list

    [2009-09-10 13:05:25]: SYSTEM [Server] –

    [2009-09-10 13:06:42]: DEBUG [Server] – Could not open [C:ProgramDataCerberus LLCCerberus FTP Serverinterfaces.xml] : Not enough storage is available to complete this operation.(line 0, column 0)

    It shouldn’t take almost 1:17 to complete that step and the error in the log it telling. At least I now have a good idea where to look.

    #35286
    imported_Serin
    Participant

    I posted the official release of 3.0.4 last night. This version has a good bit more logging and lot of other minor improvements. Do you guys mind trying it and posting your startup logs? With debug logging still turned on.

    Note, you will have to uninstall the old version 3.0.4 if you haven’t already. All of your settings will be preserved.

    Thanks,

Viewing 15 posts - 1 through 15 (of 60 total)
  • You must be logged in to reply to this topic.
Close Cart

Shopping Cart