Skip to content

linux + how to stop files creation under /var/spool/clientmqeueue

please advice how to stop the file creation under the directory – the reason for that because the clientmqeueue folder have huge capacity and files created every day please advice for all possibilities Answer This is your mail queue, most likely it’s a program or programs sending mail(s) to users …

mv: cannot overwrite directory with non-directory

Is it possible to get around this problem? I have a situation where I need to move some files to 1 directory below. problem is that the filename inside g/ directory is the same as the directory name and I receive the following error: Example: /home/user/data/doc/version/3766/297534 is a directory, inside ther…

Find the sum of an infinite series

How can I find the sum of an infinite series? Series: My misbehaving example: Is it possible to carry out this method correct calculation or how to resolve this problem in other ways? Answer This series does not converge. It’s called the harmonic series and it’s known to do not converge. Moreover,…

What unit is used to display Redis CPU usage

I ran the command INFO CPU in the Redis CLI and got the output shown below: My question is: what is the unit used for these figures? Is it CPU time, or CPU consumption or something else? Answer It is the CPU time (expressed in seconds) accumulated since the launch of the Redis instance, as reported by the get…

ModEvasive on Ubuntu 12.04 LTS broken?

I’ve installed mod_evasive on ubuntu 12.04 LTS using the instructions here my mod_evasive.conf looks like: Neither DOSEmailNotify or DOSSystemCommand seems to work. If I run the test.pl, the testing script that comes with mod evasive I will get successful connections followed by 403 forbidden,so the mod…