Am wondering if looking at the CPU process queues, vs CPU% busy, are a better indication of whether an upgrade is needed.
Afterall, processes can still queue up to be processed even if "top" doesn't shown CPU 100%. Say if it's indicating 50% busy within the top output, it's only saying that 5 out of 10 times sampled, the CPU was busy. But a process may arrive to be processed at any time, and if it arrives just when the CPU is processing something it needs to wait in the queue. Am I making senses?
How many processes queued up would suggest an upgrade is required of the CPU? I've read online (believe it's Microsoft) that 2 is the figure.
is it possible to get the length or even the items of both queues, the run queue and the swap queue? I've googled a lot but had no luck. Maybe I havn't used the correct search words...
Is there any header and/or code example to use structures or any API to get these information from the kernel or the scheduler?
I am newbie to postfix. I added a new domain to my postfix server in the main.cf under mydestinations variable and the relay_domains file. Also, added this domain to my backend exchange server. When I send a test message from the new domain, my messages from that domain appear to be stuck in the "queue active". What does it mean when you are stuck in this queue? Does this mean that my backend email server (exchange 2003) isn't allowing messages from this new domain OR that the POSTFIX server still needs configuring.
Mails are not going out of the queue. Removed all frozen mails and tried to flush queue using exim -qf command. Also checked queue after restarting exim. Still messages are not going out of the queue.
I need to tune the mysql and apache server for the comparatively busy webserver. My scenario is like this.
1. The Web request is around 2000 request at a time or more. 2. Each web request will generate one mysql query. 3. The query to database is all read. 4. This server load will be at peak for around 3-4 hours after that the load will subside. As the task will be published, around 300,000 will be viewing the page.
5 quad servers are deployed, load is balanced via DNS but performance is not as expected. Centos 5.5 is used as OS. Top command shows The mysql process is around 185%!
Anyone have an issue with Messages in Queue going crazy? and inside the emails is: Received: (qmail 13662 invoked by alias); 20 Aug 2010 10:07:14 -0700 Delivered-To: [URL]..
Don't really know what could be causing this, the other day my messages in queue was at like 5,000 or so, but now its up to 445,000 messages in queue!! All of them that exact message.
I notice that when someone sends a message from my Postfix server & it can't find the destination server or if there is a incorrect domain recipient entered by mistake, it sits in my Postfix queue for days. I think perhaps 4-5 days for some reason. I was wondering if I could shorten the time so the sender gets a delivery failure message kicked back to them in 24 hours rather than waiting 4 or so days.
how can i search mails in queue of sendmail /var/spool/mqueue by IP. This facility is available in qmail e.g. qmqtool -f '10.10.10.10' this search all mail messages by IP and we can delete all the message easily.
On the postfix mailserver of our company I'm seeing several of these messages in the deferred queue (apologies for the terrible formatting, I couldn't get it any better) code...
looking at the headers, there is probably something wrong with our DNS-server, which we will investigate, but I still have some questions about the failure notice:
- why are the failure notices refused? Is that a fault on the sender side, for example sending the wrong return address?
- where does this mxcorp1.pacific.net.sg[192.169.41.21] come from anyway? I don't see it anywhere in the headers.
We have a homegrown process that runs on a windows box and produces a csv file. We mount the directory these are output to using autofs/cifs and then process them using a program on our linux database servers.
Is there a way from linux, looking at the cifs share, to tell if the target file is currently in use by a process on the windows box? We are having issues where an incomplete file is being processed occasionally.
I have a server (RHEL 4.7) with an mqueue that keeps growing over a two or three day interval. Then I have to manually flush the queue by removing all the mail in the spool directory as the sendmail flush command doesn't work. I've looked at the mail queue manually with a sendmail -bp command and it seems to show an occaisional mail item in the queue. On the other hand, there seems to be a lot more non-legitimate emails in the queue spool. how do I find out the source of the email in the main queue? Next, how do I stop it from building the queue? Next, is there anyway to automatically flush the queue once it builds if I need to?
Is there a simple way to move the Sendmail queue folder? Presently it's at the default location on /var/spool/mqueue/ but when / recently ran out of space (my fault storing backups there), it was unable to receive any more mail. There is plenty of space at another partition. My /var/opt/scalix location lives on another set of discs with lots of room. I created a folder called /var/opt/scalix/sendmail/mailqueue/ but uncertain how to move the existing queue to it.
Messages are stuck in my server's /var/spool/mqueue/ folder beyond the lifetime I have specified in confTO_QUEUERETURN (5d). Any idea why this could be? The file permissions appear fine; files in the mqueue folder show rights of: Code:-rw------- 1 root smmspThis is causing an issue because the queues are slowly getting larger and larger. I'm seeing the queue size consistently growing. maillog shows entries like: Code:grew WorkList for /var/spool/mqueue to 28000Just thinking outloud -- could the queue runner not be completing it's job in time? Maybe I could check with time sendmail -q
I want to setup sendmail to alert for Nagios, OSSEC, redmine, ...
I configure sendmail to work with Gmail smtp follow this guide. I disable local delivery in sendmail by adding the following lines in sendmail.mc:
Code: define(`MAIL_HUB', `xx.localdomain.')dnl define(`LOCAL_RELAY', `xx.localdomain.')dnl it works but this messages seems to be stuck in sendmail queue: Code: sendmail -bp ...
Sendmail isn't sending mail for some reason and keeping it in the Queue. I attemped to flush them but it deferres the connection to the server in which it is trying to relay the message to. I have checked to see if there is a DNS error or anything like that. I attemped to flush the messages through webmin.
This is the result.
Code:
I am not finding anything in the logs to let me know their is an error. I can ping the mail servers that it is trying to send to. Now it has started delaying when ping MX servers. So I knew something was starting to mess with it. I have checked the /etc/hosts. It is correct. The server isn't black listed. Mail to root just gives me.
I recently install CentOS 5.5 on my small server. Unfortunately, I have problems with my mail configuration. I don't know anything about sendmail and dns configuration so I am just looking for something easy to set up. I use cron to perform automatic task. I set up the variable $MAILTO in cron to my regular mail. Cron send the mail but it is stuck in the queue.
I am having problems with scp during a backup operationI added a ps -ef before and after the scp operation used during the backup.The backup is a script to backup a Zimbra ServerI am including the code segment that I am having problems
Code: # DRCP Section. To scp newly created archives to a remote system if [ "$DRCP" = "yes" ]
I have a little problem with my RHEL5.5 IA64. I mounted a Windows directory with 'mount -t cifs'. After a little while someone else mounted the same windows directory in the same mountpoint. The output from 'mount -v' shows me that the same directory is mounted twice in the same mountpoints. I cannot unmount it, not even with the force option. The error is "Device or resource busy". There are no open files in the shared directory and no one using the directory or subdirectories.
Recently I was trying out a boot disk I had made, and basically, I switched it off several times due to it booting the completely wrong kernel. Now, I'm getting to the stage "Checking File systems" and then comes up [Failed]. I then get a message saying Reboot required, and that it will reboot in 15 seconds, just a few seconds before it reboots I get "/dev/shm not mounted, /dev busy" or something similar.
I've booted up my sysresccd, ran "fsck.ext4 -fcv /dev/sda2" to force a check and scan for any bad blocks, it came up clean, then I rebooted and got the same error, so I copied the kernel and system.map over to /boot to make sure there's no corruption and reinstalled initscripts and util-linux-ng, rebooted, same error.Tried different kernels, I've checked fstab and menu.lst, no problems there, so I still don't get why I still get the same problem.
Code: HP 210 Mini Fedora 14 xfce 2.6.35.11-83.fc14.x86_64
I have inserted my handy drive. However, when I right click and select unmount I get the following message:
Code: An application is preventing the volume "New Volume" from being unmounted
So I try from the command line:
Code: umount /dev/sdb1 And I get the following message:
Code: umount: /media/New Volume: device is busy. All I have done is copied some files to my handy drive. So I am not sure what process is keeping my handy drive busy.
Is there any command that I can use to see what process of anything else is using the handy drive?
I am not sure when this started for me, but I think in a recent update of Firefox. I am running Ubuuntu 9.10 Karmic Koala. I am currently running FF 3.5.6. When I click on a link in a page, or refresh the page, the Arrow/Pointer cursor stays the same in place of the normal busy cursor that I am used to. This is more of an annoyance than a real functional issue, as I can't tell if the page is working except to see the tab showing loading, and the status bar in FF. I have searched the forums, and google/linux, but have not found a cause, nor a fix.
I also use Opera and Chrome at times and the busy cursor works there as expected. I also use Thunderbird and it is working there. So, I believe it is only related to FF. My addons are as follows, but I haven't added anything recently, and it was working before.
Extensions: ColorfulTabs 4.1 Live HTTP Headers 0.15 Ubuntu Firefox Modifications 0.8 Web Developer 1.1.8 [Code].....
I am saying good by to windows at work.I've had it! But We use groupwise email client at work, but I can't figure out how to do a busy search in evolution when setting up appointments.Also, how do I go about syncing up the novell contact list?
1. how to do busy search in evolution. 2. how to sync corporate contact list.
I am trying to set up a mdadm raid in a new machine that I am building as a home theatre PC. the machine boot just fine from /dev/sdc running ubuntu 9.10 However in gparted /dev/sda and dev/sdb show to be part of /devmapper/sil_ajbicfacbaej
Both dev/sda and /dev/sdb were drives that used to be part of a sil hardware raid on a previous machine. I would like to use them as a new mdadm raid on this new machine the old hardware card was really quite slow. the drives are now pluged into the MB and should be much faster there.
How do I use the drop-trace command in NS2 to create a trace file of all of the packets dropped over the course of a simulation? If drop-trace is the wrong command to use, which command should I use to monitor the number of packets dropped at a certain queue in a link?
I have 2 HDs, an old one with LVM (sda) with two partitions, sda1 and sda2, and the new one without LVM (sdb). I want to format the old sda device. I tried with sfdisk, but it says that the sda is busy:
But there is no call in /etc/fstab to sda, I did a /sbin/swapoff -a, and this is the output of df: