Author Topic: Found Problem With Server  (Read 9282 times)

offroadgeek

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
    • https://www.oesf.org
Found Problem With Server
« on: May 26, 2006, 10:02:26 pm »
We think we found the issue which has been causing the site to clock or completly timeout in the mornings.  Apparently updatedb has been running daily to refresh the locate db and the process lingered for several hours eating up memory and cpu utilization.  Since we obviously don't need to use locate on the server (as much as we need responsiveness!) we've removed it from cron.

Hopefully this will fix the issue.  This however doesn't mean that we'll continue to stay on the dreamhost dedicated server indefinitrely.  We'll continue to persue moving the site to ibiblio.
Search the OESF Wiki
C1000 w/Cacko 1.23 beta (from Streamline) / 760 pdaxrom rc9 / 6000L (thanks Santa's elf!) / 5500 - OZ 3.3.5 / SIMpad SL4
1GB, 256mb SanDisk CF / 2x 1GB, 512mb, 256mb, 128mb SanDisk SD
Ambicom WL100C-CF wifi / Socket 56k CF modem / AmbiCom BT2000-CF (x2)
Pocketop keyboard, Piel Frama case (1000 & 5500), PDAir case (760 & 1000)
sip:536093@fwd.pulver.com
| OESF | ELSI | Zaurus User Group | ZaurusThemes |

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
Found Problem With Server
« Reply #1 on: May 26, 2006, 10:09:07 pm »
very cool
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

ken

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
Found Problem With Server
« Reply #2 on: May 26, 2006, 10:17:03 pm »
Quote
We think we found the issue which has been causing the site to clock or completly timeout in the mornings.  Apparently updatedb has been running daily to refresh the locate db and the process lingered for several hours eating up memory and cpu utilization.  Since we obviously don't need to use locate on the server (as much as we need responsiveness!) we've removed it from cron.

You can also have it ignore various directories (see /etc/locate.rc).  That way you can keep it for things you need to do to maintain the system, and yet not have it deal with things like that bbs data directories, etc.
SL-6000L Sharp ROM 1.12 - 1G SD (RiDATA) - 2G Microdrive (Hitachi)
TRENDnet TE-CF100 10/100 (no drivers needed) AmbiCom CF56M-EZ modem (no drivers needed)