|
From: <php...@li...> - 2009-09-13 21:07:19
|
Oops the image got stripped. Here's a link to it: http://idisk.me.com/apinstein/Public/Pictures/Skitch/php-java-bridge_tmp_files_problem-20090913-170627.jpg Alan On Sep 13, 2009, at 5:01 PM, php-java-bridge- us...@li... wrote: > My /tmp directory ran out of space (or inodes or something) today. > > When I went and looked, there were 350,000+ tmp files left over from > the bridge, like: > > -rw------- 1 apache apache 0 Sep 11 > 20:34 .php_java_bridge7ZE0oM > prw-rw-rw- 1 apache apache 0 Sep 11 > 20:34 .php_java_bridge7ZE0oM.i > prw-rw-rw- 1 apache apache 0 Sep 11 > 20:34 .php_java_bridge7ZE0oM.o > > It actually ended up using all space on /tmp and killed my server! > > I see that it's the php Java.inc file that's doing this. I see that > the files are created, but never where they're cleaned up. > > Not knowing much about how the bridge's life cycle works, I am a bit > anxious to just start ramming code in there to clean up, but clearly > there is a problem. Here's a graph of inode usage on my server since > upgrading to the latest php-java-bridge: > > > > > You can see that the bridge exhausted all inodes on /dev/shm then as > soon as that was full it "failed-over" (by accident, based on a look > at the code) to /tmp. > > Please advise. > > Regards, > Alan > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july_______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |