# Access logging has stopped

**URL:** <https://www.ruby-forum.com/t/access-logging-has-stopped/184330>\
**Category:** NGINX\
**Created:** [March 1, 2010, 2:39am UTC](https://www.ruby-forum.com/t/access-logging-has-stopped/184330 "2010-03-01T02:39:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![markmt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@markmt](https://www.ruby-forum.com/u/markmt)\
**Post date:** [March 1, 2010, 2:39am UTC](https://www.ruby-forum.com/t/access-logging-has-stopped/184330/1 "2010-03-01T02:39:46Z")

</div>

Entries in the access.log for my nginx server mysteriously stopped on  
Feb 16. I haven’t made any change to the configuration files. Any  
suggestions of where I should be looking to figure out why it has  
stopped logging incoming requests?

Posted at Nginx Forum:

> **[access logging has stopped](https://forum.nginx.org/read.php?2,58447,58447#msg-58447)**
>
> Entries in the access.log for my nginx server mysteriously stopped on Feb 16. I haven't made any change to the configuration files. Any suggestions of where I should be looking to figure out why it has stopped logging incoming requests?

---

<div class="post-metadata">

**Author:** ![markmt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@markmt](https://www.ruby-forum.com/u/markmt)\
**Post date:** [March 1, 2010, 3:10am UTC](https://www.ruby-forum.com/t/access-logging-has-stopped/184330/2 "2010-03-01T03:10:11Z")

</div>

Maybe it grows and fill up your partition? I faced this problem with  
other application.

Danny Trinh  
Linux Admin

---

<div class="post-metadata">

**Author:** ![markmt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@markmt](https://www.ruby-forum.com/u/markmt)\
**Post date:** [March 1, 2010, 3:31am UTC](https://www.ruby-forum.com/t/access-logging-has-stopped/184330/3 "2010-03-01T03:31:50Z")

</div>

Thanks for the suggestion. However I don’t think that’s it, as the  
error.log in the same directory is still being written and the  
filesystem is only 53% full.

Posted at Nginx Forum:

> **[Re: RE: access logging has stopped](https://forum.nginx.org/read.php?2,58447,58458#msg-58458)**
>
> Entries in the access.log for my nginx server mysteriously stopped on Feb 16. I haven't made any change to the configuration files. Any suggestions of where I should be looking to figure out why it has stopped logging incoming requests?

---

<div class="post-metadata">

**Author:** ![markmt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@markmt](https://www.ruby-forum.com/u/markmt)\
**Post date:** [March 1, 2010, 10:36am UTC](https://www.ruby-forum.com/t/access-logging-has-stopped/184330/4 "2010-03-01T10:36:09Z")

</div>

On Mon, Mar 1, 2010 at 3:31 AM, MarkMT [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thanks for the suggestion. However I don’t think that’s it, as the  
> error.log in the same directory is still being written and the filesystem is  
> only 53% full.

Maybe it just grew too big for your filesystem? what if you restart  
nginx?  
what if you rename it and then restart nginx?

---

<div class="post-metadata">

**Author:** ![markmt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@markmt](https://www.ruby-forum.com/u/markmt)\
**Post date:** [March 1, 2010, 2:26pm UTC](https://www.ruby-forum.com/t/access-logging-has-stopped/184330/5 "2010-03-01T14:26:10Z")

</div>

I tried renaming the file and restarting - no access.log file was  
created on subsequent accesses.

Other thoughts?

Posted at Nginx Forum:

> **[Re: RE: access logging has stopped](https://forum.nginx.org/read.php?2,58447,58558#msg-58558)**
>
> Entries in the access.log for my nginx server mysteriously stopped on Feb 16. I haven't made any change to the configuration files. Any suggestions of where I should be looking to figure out why it has stopped logging incoming requests?

---

<div class="post-metadata">

**Author:** ![markmt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@markmt](https://www.ruby-forum.com/u/markmt)\
**Post date:** [March 1, 2010, 2:46pm UTC](https://www.ruby-forum.com/t/access-logging-has-stopped/184330/6 "2010-03-01T14:46:39Z")

</div>

On Mon, Mar 1, 2010 at 2:25 PM, MarkMT [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I tried renaming the file and restarting - no access.log file was created  
> on subsequent accesses.
> 
> Other thoughts?

On linux, lsof -c nginx (as root) should tell you if nginx has the  
logfiles  
opened.  
Also, “strace” may help in understanding whether it’s a file permission  
problem (actually I believe it isn’t, nginx should not start if it can’t  
write to its logfiles).  
Also, you may have some stale processes, so stop nginx, and then check  
via  
ps aux if you have any left.. if you do kill them via killall nginx.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![markmt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@markmt](https://www.ruby-forum.com/u/markmt)\
**Post date:** [March 1, 2010, 3:18pm UTC](https://www.ruby-forum.com/t/access-logging-has-stopped/184330/7 "2010-03-01T15:18:51Z")

</div>

Thanks! It turned out to be stale processes. I removed them and logging  
has now resumed. Much appreciate your help.

Mark.

Posted at Nginx Forum:

> **[Re: RE: access logging has stopped](https://forum.nginx.org/read.php?2,58447,58578#msg-58578)**
>
> Entries in the access.log for my nginx server mysteriously stopped on Feb 16. I haven't made any change to the configuration files. Any suggestions of where I should be looking to figure out why it has stopped logging incoming requests?
