Submitted by sgrayban on Tue, 07/28/2009 - 13:54
Apache [error] Can't locate warnings/register.pm: Too many open files at /usr/share/perl/5.10/constant.pm line 4.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/constant.pm line 4. Compilation failed in require at /usr/lib/perl5/APR.pm line 26. BEGIN failed--compilation aborted at /usr/lib/perl5/APR.pm line 26. Compilation failed in require at /usr/lib/perl5/APR/Table.pm line 23. BEGIN failed--compilation aborted at /usr/lib/perl5/APR/Table.pm line 23. Compilation failed in require at /usr/share/webmin/virtualmin-google-analytics/Virtualmin/GoogleAnalytics.pm line 7. BEGIN failed--compilation aborted at /usr/share/webmin/virtualmin-google-analytics/Virtualmin/GoogleAnalytics.pm line 7. Compilation failed in require at (eval 142) line 3. failed to load Virtualmin::GoogleAnalytics package
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Tue, 07/28/2009 - 14:45 Comment #1
Wow, it looks like the open files limit has been hit in Apache, causing the Analytics perl module to fail to load.
Do you have any custom file descriptor limits setup? Also, how many domains are on this system?
Submitted by sgrayban on Tue, 07/28/2009 - 14:50 Comment #2
Yup.....
We have 150 domains on this server. All had writelogs and all had analytics enabled too.
I had to disable and remove all writelogs -- thats a bad thing and shouldnt even be used.
Submitted by JamieCameron on Tue, 07/28/2009 - 14:49 Comment #3
Writelogs is an out-dated feature, now that we have logs under /var/log/virtualmin by default.
Did that fix the issue though? If so, I am surprised, as writelogs doesn't use any extra file descriptors in Apache.
Submitted by sgrayban on Tue, 07/28/2009 - 14:51 Comment #4
Yup disabling writelogs worked -- need to get rid of that.
Submitted by JamieCameron on Tue, 07/28/2009 - 15:01 Comment #5
Yeah, it's pretty useless now .. I will disable it in the next release.
Submitted by sgrayban on Tue, 07/28/2009 - 15:53 Comment #6
When you upgrade the next version you need to make the script removes that setting from all domains then otherwise your gonna have some rouge writelogs running.
Submitted by Issues on Tue, 08/11/2009 - 16:18 Comment #7
Automatically closed -- issue fixed for 2 weeks with no activity.