Carr, Chris wrote:
> 1:
> Fatal error: Maximum execution time of 30 seconds exceeded in
> /usr/share/gallery2/modules/core/classes/helpers/GalleryItemHelper_mediu
> m.class on line 979
> 
> I don't understand this one, since my phpinfo (link below) clearly shows
> that the max execution time is 630 seconds (I edited
> /etc/php5/apache2/php.ini to increase the time limit). 

I'm not sure why you're getting this error, especially since phpinfo
shows 630 seconds.


> 2:
> Warning: fopen(/archive/Gallery/locks/1) [function.fopen]: failed to
> open stream: Too many open files in
> /usr/share/gallery2/modules/core/classes/GalleryPlatform.class on line
> 326
> 
> Warning:
> GalleryCoreApi::require_once(/usr/share/gallery2/modules/core/classes/..
> /../../modules/core/classes/GalleryStatus.class)
> [function.GalleryCoreApi-require-once]: failed to open stream: Too many
> open files in
> /usr/share/gallery2/modules/core/classes/GalleryCoreApi.class on line
> 2717
> 
> Fatal error: GalleryCoreApi::require_once() [function.require]: Failed
> opening required
> '/usr/share/gallery2/modules/core/classes/../../../modules/core/classes/
> GalleryStatus.class' (include_path='.:/usr/share/php:/usr/share/pear')
> in /usr/share/gallery2/modules/core/classes/GalleryCoreApi.class on line
> 2717
> 
> This one makes a little more sense, but I cannot find any configuration
> option to increase the maximum number of open files allowed. 

This is probably caused by ulimits on your filesystem.  You can run
ulimit -a to see what the current limits are and use ulimit -n to change
the open files limit.  You can also switch the Locking System used in
the Site Admin section from File to Database to see if that solves your
second issue.

-- 
----------------------------
Michael Schultheiss
E-mail: [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to