This is related to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695119.
It should be fixed in the next upload, copying from the relevant commit message: http://anonscm.debian.org/gitweb/?p=collab-maint/nginx.git;a=commitdiff;h=c0d5189 Under certain circumstances we could end up with an empty pidfile[1]. The logrotate script should handle that gracefully. We now also check that the pidfile size is not zero before signaling nginx master. [1] `nginx -t` creates/opens an empty pidfile without deleting it to avoid posible race conditions. So if nginx is not running at the moment you will end up with an empty pidfile. Relevant discussion: http://mailman.nginx.org/pipermail/nginx/2008-May/005229.html -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

