Difference between revisions of "Quick response cheatsheet"
From WormBaseWiki
Jump to navigationJump to search (Created page with "Quick response cheatsheet When staging site is down or really slow: - If it's really slow, use top command to check if sgiface is at 100%, if so restart ACeDB - If it's dow...") |
(No difference)
|
Revision as of 21:29, 5 November 2015
Quick response cheatsheet
When staging site is down or really slow:
- If it's really slow, use top command to check if sgiface is at 100%, if so restart ACeDB
- If it's down, such as 404 error from nginx or Bad Gateway error, try restart staging site
Restart AceDB
sudo /etc/init.d/xinetd stop ps aux | grep sgiface !!If sgifaceserver is still running use 'kill #####' (where ##### is the process id) sudo /etc/init.d/xinetd start
Restart Staging site
ps -aux | grep starman
Find the two main processes, one is the daemon (wormbase.psgi) and the second is the starman master process.
sudo kill -9 [PIDs] sudo pkill -9 starman cd /var/lib/jenkins/jobs/staging_build/workspace sudo -u jenkins ./script/wormbase-daemon.sh