Unicorn workers freeze from time to time

2014-01-24 Thread Artem Pyanykh
A couple of days ago I noticed a strange thing - from time to time server stops 
processing request for some time. At the `top` output it looks like this:

* ten Unicorn workers process requests;
* then, for some reason, they stop doing anything. I mean, all ten workers have 
'sleeping' status;
* for a ten-fifteen seconds they sleep;
* and then suddenly all then workers at the same time start processing requests 
(lots of them were queued for 10s);

I have the following setup:
nginx, unicorn 4.6.2, postgres, redis for sessions and cache.

My first thought was to blame redid (because if redis doesn't give sessions, 
all process will wait for it), but it seems it is not the case, because while 
unicorn workers freeze, redis serving other processes that do background jobs.

I don't understand what is the reason of this strange behaviour.

If someone have some thoughts on the matter I would gladly check it. If you 
need additional information - just tell me what to do, and I'll try to provide 
it.

Related question on StackOverflow - 
http://stackoverflow.com/questions/21329413/unicorn-workers-freeze-from-time-to-time


Best regards,
Artem Pyanykh



___
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


Вопрос по продукции

2014-01-24 Thread Владислава
Здравствуйте коллеги!

Пожалуйста сообщите - на всё ли реализуемое низковольтное оборудование у Вас 
имеются Государственная регистрация? И все ли документы актуальные?

Мы предлагаем провести испытания высоковольтного и низковольтного оборудования:

- подготовка протоколов испытаний от института на безопасность

- проведения климатических, механических, высоковольтных испытаний на реакторы, 
силовые трансформаторы, элегазовые трансформаторы тока и напряжения и многое 
другое.

Сообщите, пожалуйста, Вам интересно  ознакомиться с нашим специальным 
предложением?
___
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying