Version 1.42.1

Released: 2012-11-27

Allow characters 128 through 255 in valid pathnames new

A valid pathname in DA will be redefined to include characters 128 through 255.

This will allow UTF-8 charcters to be used in the DA FileManager, assuming the:

LANG_ENCODING=UTF-8

is used in the language pack, eg:

http://help.directadmin.com/item.php?id=364

directadmin process to check task.queue to ensure it is being processed new

The task.queue relies on crond to call the dataskq binary every minute.

If something is broken, the task.queue will grow and backup jobs won't get processed.

Often times, the Admin does not know the task.queue isn't being processed.

This change will have the directadmin process check for the task.queue.

The internal default directadmin.conf setting:

check_task_queue=2048

which means if the task.queue is more than 2048 bytes in size, and is more than 5 minutes in age, then the message can be generated.

If you wish to disable this check, add the following to your directadmin.conf, and restart directadmin:

check_task_queue=0

You can change the number in case a 2Kb task.queue, older than 5 minutes, is normal on your system.

The fstat variable st_atime is used.. so just make sure you're not looking at the file, else the check will reset.

We use st_atime because the modified time could be newer due to the append, so we want the oldest possible time related to the file (as the dataskq renames and deletes it)

The check is trigged after a login by an Admin.

The message repeat shares the service check interval in the admin.conf:

service_email_last_sent=

which is otherwise used to limit the notices if a service is down.

This is shared because it's essentially monitoring if crond is down, but via other means.

rotate_email_usage not counting email sends fixed

Bug introduced into the rotate_email_usage.sh script with this previous fix:

usernames ending in bytes end up with large bandwidth usage

prevents the files:

/etc/virtual/usage/username.bytes

from ending up in file:

/usr/local/directadmin/data/users/username/bandwidth.tally

This causes the email send and receive counts to be 0.

Last Updated: