Loomio

Server load

PP Pirate Praveen Public Seen by 20

I think we are hitting the load limits on our server.

diaspora@poddery:~$ free -m
total used free shared buffers cached
Mem: 3965 3816 149 0 4 575
-/+ buffers/cache: 3235 730
Swap: 3355 1256 2099

Stream is loading slow and sometimes nginx gives a page not found message. How do we handle this?

MKT

Manu Krishnan T V Fri 28 Mar 2014 4:01PM

Just did a dd test, to look at whether disk IO is causing issues and it seems fine. 150MB/s is good enough I believe. The result is as below:

poddery@poddery:~$ dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync; rm test
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 7.13325 s, 151 MB/s

PP

Pirate Praveen Sat 29 Mar 2014 10:25AM

@manukrishnantv that would be a good option. Important point is to sustain quality of service. We can try a reboot and see if it improves the performance.

PP

Pirate Praveen Sun 30 Mar 2014 4:46PM

@manukrishnantv @nandajavarma I think we should move yatra.diasporafoundation.org also to another host as it does not need a vps. Nandaja, can you try to move it to autistici.org or riseup.net hosting?

MKT

Manu Krishnan T V Sun 30 Mar 2014 7:08PM

Moving out wordpress won't be a hard task. @nandajavarma @balasankarchelamat Hope you can do that.

NV

Nandaja Varma Mon 31 Mar 2014 2:14AM

@manukrishnantv @praveenarimbrathod Sure! I will try to move it tonight(will have a better Internet connection, by then).

PP

Pirate Praveen Mon 31 Mar 2014 6:00AM

@manukrishnantv I still feel we should stop new sign ups until we can guarantee a good performance. Otherwise new people joining will have a bad impression of diaspora.

PP

Pirate Praveen Mon 31 Mar 2014 9:08AM

I saw two extra sidekiq processes on the server. I killed them and restarted diaspora. Sign ups are closed now. Once we see good performance for next two days, we can open it again.

PP

Pirate Praveen Mon 31 Mar 2014 9:34AM

seems stable now

$ free -m
total used free shared buffers cached
Mem: 3965 2076 1889 0 42 929
-/+ buffers/cache: 1105 2860
Swap: 3355 140 3215

PP

Pirate Praveen Mon 31 Mar 2014 10:19AM

I have re-enabled sign ups. Load and memory usage is normal so I was tempted to re-open registrations.

MKT

Manu Krishnan T V Sat 5 Apr 2014 4:02AM

The stream now loads faster, but the memory usage has gone to the old state.

poddery@poddery:~$ free -m
total used free shared buffers cached
Mem: 3965 3815 150 0 178 1899
-/+ buffers/cache: 1736 2228
`Swap: 3355 122 3233

Swap usage is not high though.

Load More