Error with setrlimit: Operation not permitted

young

Verified User
Joined
Oct 22, 2003
Messages
77
im getting an error like every minute. what can i do?

this is from ...da/errortaskq.log

2005:06:06-10:16:00: Error with setrlimit: Operation not permitted
2005:06:06-10:17:00: Error with setrlimit: Operation not permitted
2005:06:06-10:18:00: Error with setrlimit: Operation not permitted
2005:06:06-10:19:00: Error with setrlimit: Operation not permitted
2005:06:06-10:20:00: Error with setrlimit: Operation not permitted
2005:06:06-10:21:00: Error with setrlimit: Operation not permitted
2005:06:06-10:22:00: Error with setrlimit: Operation not permitted
2005:06:06-10:23:00: Error with setrlimit: Operation not permitted
2005:06:06-10:24:00: Error with setrlimit: Operation not permitted
2005:06:06-10:25:00: Error with setrlimit: Operation not permitted
 
still going...

2005:06:10-09:45:00: Error with setrlimit: Operation not permitted
2005:06:10-09:46:00: Error with setrlimit: Operation not permitted
2005:06:10-09:47:00: Error with setrlimit: Operation not permitted
2005:06:10-09:48:00: Error with setrlimit: Operation not permitted
2005:06:10-09:49:00: Error with setrlimit: Operation not permitted
2005:06:10-09:50:00: Error with setrlimit: Operation not permitted
2005:06:10-09:51:00: Error with setrlimit: Operation not permitted
2005:06:10-09:52:00: Error with setrlimit: Operation not permitted
 
rlimit sets resource limits... in other words, something on the server is exceeding the maximum limits set by default.

Someone over quotas?

Have you checked to make sure you havent had visitors (ie: been hacked)?

What OS?
 
hostpc.com said:
rlimit sets resource limits... in other words, something on the server is exceeding the maximum limits set by default.

Someone over quotas?

Have you checked to make sure you havent had visitors (ie: been hacked)?

What OS?

redhat 9 i think.
i dont think anyone is over quota also.

what is running setrlimit? why is this happening?
 
still going...
2005:08:31-12:29:00: Error with setrlimit: Operation not permitted
2005:08:31-12:30:00: Error with setrlimit: Operation not permitted
2005:08:31-12:31:00: Error with setrlimit: Operation not permitted
2005:08:31-12:32:00: Error with setrlimit: Operation not permitted
2005:08:31-12:33:00: Error with setrlimit: Operation not permitted

i'm on da 1.24.2
 
It might be a DA problem, but it might have something to do with your server configuration. I've never heard of or seen the problem myself, and the lack of response leads me to believe that no one here has, either.

It appears that DA's taskq is calling the setrlimit() method, which is called from cron every minute and which is why it's appearing in the errortaskq.log every minute.

Is the dataskq cron job running as root? That's the only reason I can think of that it would be not permitted. I don't know where the cron entries are for DA under RH9... under RHE, they're in /etc/cron.d/directadmin_cron and the line looks like:
* * * * * root /usr/local/directadmin/dataskq

I would recommend sending an email to [email protected].
 
ballyn said:
It might be a DA problem, but it might have something to do with your server configuration. I've never heard of or seen the problem myself, and the lack of response leads me to believe that no one here has, either.

It appears that DA's taskq is calling the setrlimit() method, which is called from cron every minute and which is why it's appearing in the errortaskq.log every minute.

Is the dataskq cron job running as root? That's the only reason I can think of that it would be not permitted. I don't know where the cron entries are for DA under RH9... under RHE, they're in /etc/cron.d/directadmin_cron and the line looks like:
* * * * * root /usr/local/directadmin/dataskq

I would recommend sending an email to [email protected].

* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue


i think dataskq is running as root. should it be running as something else?
 
fusionictnl said:
Check the following file:

/usr/local/directadmin/data/task.queue

What is the contents ?

i don't have a task.queue there.

but found one in /usr/local/directadmin/data/templates/ and it has: action=rewrite&value=httpd
 
Last edited:
Back
Top