Is this a server or client problem? Could it be hardware related? There is nothing in my /var/log/messages or syslog to indicate a hardware problem. The UBB appears to be functioning fine.
[Wed Mar 20 10:58:42 2002] [error] [client 216.XX.XX.XX] File does not exist: /home/ibsgroup/public_html/ubb/Forum1/HTML/007357-2.html syntax error at /home/ibsgroup/public_html/cgi-local/ubbcgi/Modules/vars.pm line 2, near "xÃ@xÃ@rror at " BEGIN failed--compilation aborted at /usr/lib/perl5/5.00503/lib.pm line 3. BEGIN failed--compilation aborted at /home/ibsgroup/public_html/cgi-local/ubbcgi/ultimatebb.cgi line 45. [Wed Mar 20 11:10:13 2002] [error] [client 63.XX.XX.XX] Premature end of script headers: /home/ibsgroup/public_html/cgi-local/ubbcgi/ultimatebb.cgi Unrecognized character 200 at Modules/AutoLoader.pm line 1. BEGIN failed--compilation aborted at /home/ibsgroup/public_html/cgi-local/ubbcgi/ultimatebb.cgi line 48. [Wed Mar 20 11:10:19 2002] [error] [client 63.XX.XX.XX] Premature end of script headers: /home/ibsgroup/public_html/cgi-local/ubbcgi/ultimatebb.cgi Unrecognized character 01 at /usr/lib/perl5/5.00503/strict.pm line 1. BEGIN failed--compilation aborted at /home/ibsgroup/public_html/cgi-local/ubbcgi/ultimatebb.cgi line 47. [Wed Mar 20 11:10:27 2002] [error] [client 66.XX.XX.XX] Premature end of script headers: /home/ibsgroup/public_html/cgi-local/ubbcgi/ultimatebb.cgi Semicolon seems to be missing at /usr/lib/perl5/5.00503/Carp.pm line 4. Semicolon seems to be missing at /usr/lib/perl5/5.00503/Carp.pm line 7. Semicolon seems to be missing at /usr/lib/perl5/5.00503/Carp.pm line 9. String found where operator expected at /usr/lib/perl5/5.00503/Carp.pm line 15, near "croak "We're outta here!"" (Do you need to predeclare croak?) syntax error at /usr/lib/perl5/5.00503/Carp.pm line 3, near "of caller" "use" not allowed in expression at /usr/lib/perl5/5.00503/Carp.pm line 14, at end of line BEGIN not safe after errors--compilation aborted at /usr/lib/perl5/5.00503/Carp.pm line 17. BEGIN failed--compilation aborted at Modules/UBBCGI/Carp.pm line 5. BEGIN failed--compilation aborted at /home/ibsgroup/public_html/cgi-local/ubbcgi/ultimatebb.cgi line 50. [Wed Mar 20 11:10:30 2002] [error] [client 63.XX.XX.XX] Premature end of script headers: /home/ibsgroup/public_html/cgi-local/ubbcgi/ultimatebb.cgi syntax error at /usr/lib/perl5/5.00503/Exporter.pm line 1, near ">" BEGIN failed--compilation aborted at /usr/lib/perl5/5.00503/i386-linux/Config.pm line 2. BEGIN failed--compilation aborted at /usr/lib/perl5/5.00503/lib.pm line 4. BEGIN failed--compilation aborted at /home/ibsgroup/public_html/cgi-local/ubbcgi/ultimatebb.cgi line 45. [Wed Mar 20 11:10:41 2002] [error] [client 207.XX.XX.XX] Premature end of script headers: /home/ibsgroup/public_html/cgi-local/ubbcgi/ultimatebb.cgi [Wed Mar 20 11:10:52 2002] ultimatebb.cgi: /home/ibsgroup/public_html/cgi-local/ubbcgi/ubb_lib_time.cgi: [Wed Mar 20 11:10:52 2002] ultimatebb.cgi: Unrecognized character 01 at /home/ibsgroup/public_html/cgi-local/ubbcgi/ubb_lib_time.cgi line 1.
Mmmmm... if I didn't know better, I'd say you were running NT with the ISAPI DLL, but clearly you're on Unix. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />
How frequently do errors such as this occur?
-- Charles Capps Programmer, Infopop Corporation Please do not contact me privately for support - post on the board or open a support ticket instead!
A simple grep in the error log shows 96 occurences of "compilation aborted" since March 1. It seems that is printed twice per error so I'd guess 48 times this month.
Grab as many of those errors as possible, stick them in a text file, and mail it to []charles@infopop.com[/], including the URL to this topic.. I'd like to look at all of the errors.
-- Charles Capps Programmer, Infopop Corporation Please do not contact me privately for support - post on the board or open a support ticket instead!
All of the errors don't exist - if the modules being referenced had the problems that the log says they're having, perl would flat out NOT operate on your server.
We've only seen one thing like this - the ISAPI DLL of ActiveState Perl throws errors EXACTLY like this......
Are you using FastCGI / SpeedyCGI or any similar tool that "speeds up" CGI processes?
-- Charles Capps Programmer, Infopop Corporation Please do not contact me privately for support - post on the board or open a support ticket instead!
I'm going to check my February and January logs to see when this started happening. My hunch is that it started recently because of the increased load caused by Recent Visitors. Just a hunch.
Well, just because you have mod_perl compiled in, that doesn't automagically make UBB run under it... thank goodness. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />
Does your UBB randomly forward people to other pages, duplicate output (i.e. one page's contents appended to the bottom of another) or do anything else freaky and otherwise odd?
-- Charles Capps Programmer, Infopop Corporation Please do not contact me privately for support - post on the board or open a support ticket instead!
It performs normally other than the occasional burp and those error messages.
When you mentioned mod_perl I remembered reading that UBB doesn't support that, but I wasn't sure how to tell UBB to use or not use mod_perl's features.
I'm starting to believe this is a resource issue rather than anything to do with UBB. I have looked back in my error logs and I have seen these error messages well before I upgraded to UBB 6.X, which generally increased the system load.
I have adjusted the Apache conf variables:
RLimitCPU and RLimitMEM to "max max" to see if this resolves the issue.
I added a cron job to do a 'ps -fl' and 'uptime' every minute. I seem to have a correlation with a large number of sys_flock calls being made and a larger load and these errors occuring.
Does this ring any bells for you as to being a UBB issue?
If the errors occured before going to 6.1 (which is when many issues like this made themselves known), then chances are it's something with your local setup that is going awry than something that the UBB is directly causing.
The file not founds within the logs are just that - clients requesting files that aren't there... <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />
-- Charles Capps Programmer, Infopop Corporation Please do not contact me privately for support - post on the board or open a support ticket instead!
I believe I have finally tracked down the problem. The search function is causing the problem. The search index's are very very large, ie: up to 30Mb. for each forum!
For the time being I have turned off the search function until I figure out how to resolve this.
FYI, to troubleshoot this I used the Apache mod_status module and captured server-status output, with ExtendedStatus On, in a file through a cron script with the text based web browser 'lynx'. After analyzing the captured data around the time of the error messages I noticed that 3 searches were running at once. I tried this myself by running searches in 3 separate browser sessions on the largest index file and voila, I reproduced the problem.
Any ideas how to resolve this other than pruning posts? I read that you've changed how indexing works in 6.2.2. Is this now scraped because 6.3 is on the way?
[This message was edited by ibsgroup on 03 Apr 02 at 09:27 AM.]