SimplePortal
Development => Bugs => Fixed or Bogus Bugs => Topic started by: infyquest on December 26, 2009, 10:22:59 AM
-
I am using lighthttpd webserver and running SMF 1.1.11 with Simpleportal 2.3.1.
php is being run as a cgi with 10 worker threads.
when I enable shoutbox, the CPU usage of server peaked at 98%.
Its causing frequent 500-internal server errors and also slowed down the site.
(each php process is taking around 15-20% of cpu)
is it possible to make the shoutbox less cpu intensive
(at anytime there will be around 100 members accessing the forum)
-
Had the same trouble with apache running 2rc2 and SP 2.3.1
The offending code is the block starting at line 1835 in Sources/Subs.php
It kept timing out, and the server continually spawned php processes untill it exhausted all resources. I had to truncate the shouts table in order to stop it timing out.
-
Finally, I found out why the server is overloaded. After removing shoutbox, everything is fine.
-
I just wondering if anyone has the way of fixing the shoutbox.
-
http://simpleportal.net/index.php?topic=4126.msg26219#msg26219
-
just had this problem and the above link helped me get into my forum to disable the shoutbox but what causes this and is there fix or can i just not use the forum now?
-
http://simpleportal.net/index.php?topic=4126.msg26219#msg26219
Thanks
-
still no fix yet?
-
There is a fix and it works fine.
-
There is a fix and it works fine.
not for me
-
There is a fix and it works fine.
not for me
Did you perform the fix? Did you clear the cache? Are you absolutely sure this is not an issue with your server?
-
There is a fix and it works fine.
not for me
Did you perform the fix? Did you clear the cache? Are you absolutely sure this is not an issue with your server?
installed the fix and cleared the cache but the images and quotes are messed up :(
-
I doubt it would work for everyone but you. And saying "not working" doesn't help at all, really.
-
I doubt it would work for everyone but you. And saying "not working" doesn't help at all, really.
tell me what info you'd like and i'll provide it
-
What do you mean by "the images and quotes are messed up"?
Please be more descriptive. What does "messed up" mean? I screenshot could be useful.
-
What do you mean by "the images and quotes are messed up"?
Please be more descriptive. What does "messed up" mean? I screenshot could be useful.
right after some testing i've found out the image problem only affects the sigs and with that fix it stops all <br />'s frrom working so peoples sigs are showing out of line IF they used <br /> in there sigs
and the quotes are like this before the fix:
(http://i47.tinypic.com/vzakw2.png)
and like this after:
(http://i50.tinypic.com/2ueh9g3.png)
-
Can you attach your Subs.php file here?
-
Can you attach your Subs.php file here?
here ya go
-
still waiting for a reply... been almost a month now :(
-
PLEASE?????????
-
Try the attached file. If it doesn't work, please start a new topic in English Support (http://simpleportal.net/index.php?board=11.0) board. Topics in Bugs board does not appear on our support topics list.
-
Try the attached file. If it doesn't work, please start a new topic in English Support (http://simpleportal.net/index.php?board=11.0) board. Topics in Bugs board does not appear on our support topics list.
still have the same problems as above
-
Do you have quote tag enabled in your shoutbox?
-
Do you have quote tag enabled in your shoutbox?
nope
-
@steve
http://simpleportal.net/index.php?topic=4126.msg30202#msg30202