View Single Post
  #12  
Old 01-21-2013, 09:30 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Stephen View Post
There are huge logs on Era. For some reason -- I'm told because of their file structure -- whenever someone opens the file browser it lags the whole server for several seconds, sometimes a minute.
This is usually caused by some staff member giving themselves more folder rights than they need (like */*), or some new scripter who didn't know better making a bunch of new log folders rather than reusing the existing logging infrastructure. The server freezes up when file browser is opened if there are a large number of folders.

I re-did Era's file logging infrastructure a while back to avoid creating too many folders. Make sure nobody has access to logs outside of what they really need (don't give out logs/*/*/* etc. because there are old logs still there that Stefan never cleared despite me asking multiple times, make sure nobody has the accounts folder or levels/accounts/*..., etc).

As Stefan said a while back, Era really does need to cut down on logs (there are typically many gigabytes of logs stored). Unfortunately, he was never willing to actually help us by implementing log rotation or similar.
__________________
Reply With Quote