If that is the case, shouldn't something be in the syslog or some other log?
Is there any way I can check this for sure like last system error string or something? The exception message only says that "Unable to open file <filepath_filename>".

I checked the /proc/sys/fs/file-max  and it shows 294692

For now, I'm retrying again the page generation if an exception happens. So far seems to be working, but will need more time to really see. It was rare to happen.

AB

On 3/14/2010 16:08, Jonas Maebe wrote:

On 14 Mar 2010, at 23:39, ABorka wrote:

I have a CGI application with a datamodule that is using templates to generate 
the response pages (accessing a MySQL database through ZEOS).
Every once in a while, I'm getting an "Unable to open file" exception that 
points to one of the templates the website is using.

What could be the problem?

Maybe you run out of file handles?


Jonas_______________________________________________

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to