And, here is the correct log file!
On Feb 21, 2012, at 8:15 AM, Marisa DeMeglio wrote:
See attached for the log file.The files that should have been deleted were found in the tmp directory. The uploads dir only ever contains a handful of files, each 4096 bytes.
<application.log>
<application.log>
* soft nofile 66535
* hard nofile 66535
> No epiphany since the last time I checked…
>
> Do you still have some ghost files hanging around ?
This time there were about 400 tmp files.
>
> Btw, when you ran your local stress test: did you run all requests against the same EPUB file ? Maybe Java doesn't acquire a new file handle if the file has already been opened…
Yes, all against the same file. Good point.
>
> On Mar 4, 2012, at 1:14 PM, Romain Deltour wrote:
>
>> No epiphany since the last time I checked…
>>
>> Do you still have some ghost files hanging around ?
>
> This time there were about 400 tmp files.
Wow.
>
>>
>> Btw, when you ran your local stress test: did you run all requests against the same EPUB file ? Maybe Java doesn't acquire a new file handle if the file has already been opened…
>
> Yes, all against the same file. Good point.
I've ran my stress tests against different files, it made no difference…
I've started playing with JMeter:
http://jmeter.apache.org/
I just launched a big stress test involving 50 users hitting a local server 300 times each. The server has been started in PROD mode with a 10-thread execution pool.
I'll report the result tomorrow :)
R.
>
> On 5 mars 2012, at 18:59, Marisa DeMeglio wrote:
>
>>
>> On Mar 4, 2012, at 1:14 PM, Romain Deltour wrote:
>>
>>> No epiphany since the last time I checked…
>>>
>>> Do you still have some ghost files hanging around ?
>>
>> This time there were about 400 tmp files.
>
> Wow.
And since I restarted the site yesterday, 52 more have accumulated.
> How did you run your load test btw ?
Nothing special, just a bunch of cmd line ruby programs (30 or so) that call the server a zillion times each. I'm not sure it was a great test because I don't know how the calls are interspersed. JMeter sounds interesting -- looking forward to the results tomorrow <grin>.
R.
I'm going to be out of town this Weds through next Monday (March 21-26), and I won't have my computer with me, so I'll clear the tmp dir and restart the server before I leave to ensure that it will stay alive while I'm gone.
Marisa