New topic: CGI app seems to write its own state info to disk?
<http://forums.realsoftware.com/viewtopic.php?t=45791> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message sober Post subject: CGI app seems to write its own state info to disk?Posted: Fri Nov 02, 2012 9:23 am Joined: Wed Sep 08, 2010 9:05 am Posts: 3 Setup: MacOS X Mountain Lion (10.8.1) server running a cgi app created with 2012r1.2 with lots of simultaneous users hitting the app. All of a sudden, the app locked up--completely unresponsive--and additional users could not connect. The server's CPU shot up to 100% and Activity Monitor showed dozens of Perl processes. I killed the cgi app but the CPU shot back to 100% with tons of perl processes upon the next attempted connection. I killed the web server through the Server app, but when I turned it back on, the same thing happened. I rebooted the server, but the same thing happened. I renamed the folder containing the app to prevent users from being able to connect to it (thinking that perhaps there was a bug triggered by several users hitting the app at the same time while it started up). When I tried a single connection to the app in its new location, the same thing happened (a bunch of perl processes, 100% CPU, blank screen in my web browser). I upgraded to 10.8.2 on the server, hoping that maybe that would work better. Exact same thing happened. Finally, in desperation, I rebuilt the app (zero changes to the code) and copied the new build onto the server and it worked fine. All I can think of is two possibilities of what is going on: 1) The actual application itself had somehow become corrupted. 2) The application saved some sort of state info to disk which--in this case--was causing it to lock up every time it tried to restart. Do WE apps store any state info to disk which would/could be reloaded at the next launch? Has anyone seen anything like this before? Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
