Questions tagged [debugging]

Finding problems in a program and trying to solve these.

202 questions
1
vote
2 answers

OpenSolaris/x86 responding sluggishly - frequent freezing

The system starts up fine, and for about 5 minutes (est.) things are fine. Then the system starts to get very sluggish ("choppy"): the mouse will freeze for two or three seconds, then release for about one to two seconds. I've tried using DTrace,…
Mei
  • 4,590
  • 8
  • 45
  • 53
1
vote
2 answers

How do I add a new virtual host to my apache?

ServerAdmin webmaster@localhost ...stuff here ServerAdmin webmaster@localhost ...stuff here This doesn't seem to work. Before, it was…
Alex
  • 8,471
  • 26
  • 75
  • 99
1
vote
1 answer

How to use xdebug with eclipse IDE for PHP?

Hi my PHP project is set up on a remote test machine. I need to debug it using eclipse IDE. How shall I progress. I came to know i should prefer Xdebug rather than zend debugger. Please clarify my doubt.
Dora
  • 11
  • 3
1
vote
1 answer

How to read Windows Server 2008 (x64, SP2) memory dumps?

My server suddenly started crashing every time I debug a chunk of code on my laptop which accesses the database on the server remotely. It's done it twice now, and I've stopped trying to debug my code until I can read the memory dumps from the…
Gup3rSuR4c
  • 661
  • 3
  • 14
  • 29
1
vote
2 answers

IIS mystery: "Deadlock detected" periodically makes site unavailable

A few times a day, our vb.net (IIS 6.0) website is randomly throwing the following error and becomes completely unavailable for 5-15 minutes at a time while the application is recycled: ISAPI…
jskunkle
  • 121
  • 1
  • 4
1
vote
4 answers

I need help debugging apache with gdb (no debugging symbols found)

I'm trying to debug a segfault in PHP/Apache running on RHEL4. This is a production server, so I'm trying to install a separate copy of Apache and PHP, and run apache through gdb. When I load httpd through gdb and then do run -X, I get the…
blockhead
  • 861
  • 1
  • 8
  • 13
1
vote
5 answers

How to debug problems over IM and the phone?

If, like me, you get friends, family, and coworkers with computer problems (whether it's server, desktop, or laptop related), who ask you to help over the phone or IM, how do you debug problems? I'm quite good at debugging hardware and software…
Daniel Huckstep
  • 539
  • 2
  • 8
  • 19
1
vote
1 answer

jcmd works in console but fails in script

I'm getting mad with what should be a simple task: a java process is running, runs out of memory and a script runs. SELinux is disabled. in setenv.sh : -XX:OnOutOfMemoryError='/opt/alfresco/scripts/dumpNrestart.sh > /tmp/dumpNrestart.log 2>&1' in…
1
vote
0 answers

How can I see which commands ansible runs and their output?

I'm new to Ansible, and yes I know this has already been asked many times, but I already tried to apply advice I saw elsewhere. I did export ANSIBLE_STDOUT_CALLBACK=debug and then ansible-playbook -vvvvvv arch-upgrade.yaml -l my-host with…
Antoine
  • 281
  • 1
  • 3
  • 12
1
vote
0 answers

Can Premature end of script headers be properly debugged? (getting the real error message?)

We are getting [Wed Aug 25 15:06:05.484053 2021] [proxy_fcgi:error] [pid 24792:tid 140550620227328] [client xxxx:40224] Premature end of script headers: index.php, referer: https://www.example.com/ [Wed Aug 25 15:06:05.484091 2021]…
Alex
  • 676
  • 1
  • 14
  • 37
1
vote
1 answer

What does this mean in MySQL?

C:\Documents and Settings\Administrator>mysqld-nt --defaults-file="D:\MySQL\MySQ L Server 5.0\my.ini" --standalone --console 100125 10:47:26 InnoDB: Operating system error number 32 in a file operation. InnoDB: Some operating system error numbers…
unknown (google)
0
votes
0 answers

How to extract system startup logs from guest esp. on boot failure?

Given you have a libvirt guest VM which has all possible startup logs verbosely enabled (kernel loglevel, syslogd, dmesg etc. depending on distro). How to extract these startup logs to the host system esp. in case there is an early kernel error…
J. Doe
  • 179
  • 1
  • 9
0
votes
1 answer

How to interpret the debug output from Amavis->Spamassassin?

Could please someone explain how Spamassassin build the following strings: Oct 17 14:00:30 server amavis[29497]: (29497-02) SA dbg: uridnsbl: domain amazonaws.com in skip list, host sns.eu-central-1.amazonaws.com Oct 17 14:00:30 server…
kbu
  • 255
  • 4
  • 14
0
votes
1 answer

Network timeouts: how to debug?

I'm experiencing network timeouts when trying to fetch libraries from https://rubygems.org and I'd like to figure out why. It only seems to affect requests made from my home network. If I take my computer to a different network, I can fetch from…
ivan
  • 101
  • 1
0
votes
1 answer

What are all/most ways to enable/disable usage of async file-io in Linux?

To make a long story short, I have two identical servers hosting VMs using VirtualBox and both servers host one VM each nearly setup the same way, only that one is production and the other for internal tests and development. The important thing ist…