[drupal-devel] Various PHP Errors on Drupal.org

Khalid B kb at 2bits.com
Mon Oct 3 22:54:47 UTC 2005

While looking at http://drupal.org/admin/logs I noticed quite a few
PHP errors that happen regularly. I am listing some samples here, so
as to try to give them visibility, and those can help eradicating them
can do so.

Each one of those happens several times, so it is not a one off

1. implode(): Bad arguments. in
/var/www/drupal.org/htdocs/modules/user.module on line 635.
This is caused by the theme_user_profile function.

Visit here to reproduce it http://drupal.org/user/20575

2. opendir(files/images//temp): failed to open dir: Permission denied
in /var/www/drupal.org/htdocs/includes/file.inc on line 523.

This is from an Oregon State U IP address and at regular minutes after
the hour. So it is a normal cron run.
http://drupal.org/cron.php?key=drop But what is the key=drop?

It seems that the double slash is confusing it?

3. fsockopen(): unable to connect to byyyyttgggg.org:80 in
/var/www/drupal.org/htdocs/includes/common.inc on line 335.

4. fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or
service not known in /var/www/drupal.org/htdocs/includes/common.inc on
line 335.

Seems the above ones are from users trying to gain access to
Drupal.org via remote authentication. They setup a  drupal site at
example.com and then they try to login as someone at example.com that
they have just setup!

5. Lost connection to MySQL server during query query: LOCK TABLES cache WRITE
Lost connection to MySQL server during query query: UPDATE sessions
Lost connection to MySQL server during query query: UPDATE
node_counter SET daycount

This happens A LOT for the cache table. It also happens for the
session tables, and about once for the node_counter, as well as system

This all points to contention in the database, specially for the cache
table on a busy site like Drupal.org.

Comments? Ideas?

More information about the drupal-devel mailing list