The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
176 views

How to analyze system calls when your disk is in read only and strace output is “Bus error”?

We have a HW problem with the disks, that made all the mount points to be read only. Output of dmesg: end_request: I/O error, dev sda, sector 15574609 sd 0:0:0:0: SCSI error: return code = 0x00040000 ...
2
votes
1answer
381 views

60 second php mail() delay through browser / Apache, but no delay through commandline

I am having a problem on my server when the PHP mail() function is being used in a browser, so through Apache. When the script, lets call it mailtest.php, is being called through a browser, there is ...
5
votes
2answers
4k views

How to set strace output characters string width to be longer?

Strangely i can't find it any where but when i stdout the output of strace into afile like this: strace foo.exe | & tee foo.log the out put is to short, how can i make the width longer?
0
votes
3answers
970 views

Remi Repo Mysql Server Not Starting

Executing the command to start the mysql service fails to start the mysql server. [root@localhost]# service mysqld restart Stopping mysqld: [ OK ] MySQL ...
4
votes
1answer
5k views

Strace poll, trying to diagnose bottleneck

I have no strace skill and knowlegde, but im trying to work through a problem where my clients application is awfully slow. And im trying to find out where the bottleneck / problem may lie. So I ran ...
2
votes
2answers
3k views

How do I run strace or ltrace on Tomcat Catalina?

Running ltrace isn't trivial. This RHEL 5.3 system has based on a Tomcat Catalina (servlet container) which uses text scripts to tie everything together. When I tried to find an executable here's the ...
5
votes
3answers
4k views

Monitor all newly spawned processes on a Linux machine

Sometimes a process comes and goes faster than I can ps aux, I tried watch -d -n0.1 "ps aux | tail" but again, that's restricted to 1/10th of a second. What I really want is to run a command and ...
0
votes
1answer
2k views

How to get PIDs waiting on a semaphore

If I strace a stuck process and see output of the form: [gaius@redhat64 bin]$ strace -p 18185 Process 18185 attached - interrupt to quit [ Process PID=18185 runs in 32 bit mode. ] semop(458760, ...
1
vote
1answer
1k views

Question About No Output From strace

I am using strace to see what certain processes are doing. I have an Apache process that seems to be running forever, taking up 97.8% of a core and almost 2GB of RAM. Now when I run strace on this ...
2
votes
1answer
3k views

Cannot Login as any user other than Root - permission denied

Help! I'm desperate :) I can't login as any user other than root. I'm on Ubuntu 10.04. Here's command output: root@pinky:~# adduser test Adding user `test' ... Adding new group `test' (1003) ... ...
6
votes
3answers
3k views

Monitor system CPU / system calls in Linux

I have a couple processes that are eating up a lot of system CPU time (as determined by looking at vmstat). Is there an easy way to find out what kind of system calls are being made? I know there ...
1
vote
1answer
115 views

Performance problem when launching GUI applications under gnome while connected to VPN

I'm experiencing a severe performance problem starting apps but only when connected to my office VPN. It appears to be related to gnome-session. I believe the following is the relevant strace from ...
1
vote
2answers
2k views

ls -l freezes terminal locally and remotely

I've been reading other SF threads regarding ls not returning results or freezing and stalling terminal sessions and it appears they usually the fault of network problems. My problem however, occurs ...
4
votes
1answer
572 views

debugging irssi using 100% cpu

I have a debian VM I'm running on an ESX4.0 server. This VM hosts a number of users, each running an irssi session inside a screen instance. This is working quite well, except for one user. For ...