0

I've recently set up an Apache 2 web server and I noticed a quite a few lines in the error and access log that start with the follow sequence (but longer). Does anyone know where this comes from?

^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ....... 

My set up is an Apache 2 load balancer with mod_balancer enabled and two Apache 2 web servers. All three servers write to the same log files on a share located on a NFS. My first guess is that my problem has to do with it since it's the only difference that comes to mind from other set ups I've used in the past but I'm not sure.

2 Answers 2

1

The sequence are just zero bytes. Such content of log files (not only those generated by Apache) is usually a result of a minor file system corruption caused by e.g. unclean system shutdown. As your files are stored on a network file system it probably may be caused by some kind of network outage.

1
  • I'm suspecting the NFS playing a role here. As far as I'm aware there have been no outages (I run my servers on Linode). The NFS is a separate server from the web servers and all are monitored by a dedicated monitor server (munin). I've rebooted my servers once but gracefully. Commented Mar 13, 2010 at 13:30
1

are you using logrotation? this can happen when you rotate your logs without reloading apache.

2
  • With NFS it is quite possible, as the rotation could be done on a different machine that the one where Apache runse… Luke, is this the case? Commented Mar 13, 2010 at 17:05
  • Currently there is no log rotation set up. All web servers write into the same log file on an NFS share. Commented Mar 13, 2010 at 23:29

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.