Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: reuscam on February 22, 2008, 04:12:41 PM

Title: Slow Response times on closed network
Post by: reuscam on February 22, 2008, 04:12:41 PM
We just installed SMF on a box on our work network.  It has 10 users, and 5 threads running so far.  We've seen that anyone who is not an administrator has an unbearable wait time for most pages.  This includes guests, and regular members.  Logging in as an administrator, however, seems to completely remove the delay.  Network latency is not an issue.

Any ideas?  Any information that I need to provide?

Thanks in advance.
Title: Re: Slow Response times on closed network
Post by: karlbenson on February 22, 2008, 04:15:57 PM
Any errors in your error log.

Try disabling hostname checks.
Admin > Features & Options > Layout and Options tab
Check "Disable hostname lookups?"
Title: Re: Slow Response times on closed network
Post by: reuscam on February 22, 2008, 04:24:40 PM
1 error:

8: Undefined index: brd
File: /var/www/html/smf/Sources/Search.php
Line: 407

I changed the hostname lookup, logged out, and everything seems to be running pretty quickly now.  I'll ask the user that had the problem to test on his box, probably Monday.

Just curious, does the Administrator user type do something different with permissions, that a regular user wouldn't do?  How does the hostname lookup relate to admin vs regular user?

Thanks for the fast response.
Title: Re: Slow Response times on closed network
Post by: karlbenson on February 22, 2008, 08:08:45 PM
To be honest, I'm not sure.

Its a time I've seen posted and posted myself where SMF isn't been run on a web-server.
Intranets/networks/local machines.

Note, though it may limit your ability to ban by hostname.
Title: Re: Slow Response times on closed network
Post by: Rumbaar on February 22, 2008, 08:44:49 PM
Try this mod:
SMF 1.1.4 Search "brd" Bug Fix (http://custom.simplemachines.org/mods/index.php?mod=976)