Finding problems in a program and trying to solve these.
Questions tagged [debugging]
202 questions
1
vote
0 answers
ProcessMonitor boot logging claims disk is full
I'm trying to debug an issue where Windows 7 logoff will hang about once in every 5-10 logoffs forcing a hard reboot. I've installed Process Monitor (v3.2) and am running boot logging to try and find the process that's causing the hang. The…

David King
- 476
- 2
- 6
1
vote
1 answer
Server frequently hangs, my client wants me to do X while the proper solution is Y
This question is more on etiquette rather than an actual server issue.
2 servers owned by a client of mine frequently stop responding (Fast, then really sluggish as in it takes 1 minute to execute ls, then stop altogether). I propose that we bring…

Aloha
- 286
- 4
- 15
1
vote
0 answers
CoreOS Random Reboot Kernel Panic with Obscure Message - How to debug?
I'm relatively new to the CoreOS world, we had a server reboot and the messaging in the Journal is extremely vague:
Sep 18 07:10:27 ip-x-x-x-x.us-west-2.compute.internal kernel: BUG: unable to handle kernel NULL pointer dereference at …

Christian Nuss
- 131
- 1
- 3
1
vote
2 answers
How to pinpoint why a specific ressource (image or library) slowing down page load
We have a small network (maybe 15 users at top business hours, around 30 devices) managing internet connection and phone lines.
The primary use of the network is for users to access the web based externally hosted database interface with which they…

Félix Gagnon-Grenier
- 177
- 9
1
vote
1 answer
APC resets after a few seconds
Got a new server and the host installed APC for me.
Reloading apc.php shows that ACP resets itself every 4-6 seconds.
Uptime is always 0 and hits never go above 3000.
The site runs smoothly but if APC really starts over again & again, I'd like to…

Martin
- 220
- 3
- 9
1
vote
1 answer
tail command not updating output for debug files
I know that tail -f /var/log/messages will be keep updating on screen as the contents of file gets updated.
But when I tried the same thing with a debug file system's file it is not working , any idea?
I tried ftrace and tried this: tail -f trace…

kumar
- 433
- 3
- 10
- 23
1
vote
0 answers
Windows app not allowing debugging
I'll start by saying, I am not sure if this should go in StackOverflow or ServerFault. I posted it in StackOverflow earlier, but its been getting votes to close the question, so I assume it should be going to ServerFault. Here is the link to SO:…

Sugitime
- 415
- 1
- 4
- 12
1
vote
1 answer
Debugging logrotate postrotate script
Following is my logrotate conf.
/mnt/je/logs/apache/jesites/web/*.log" {
missingok
rotate 0
size 5M
copytruncate
notifempty
sharedscripts
postrotate
…

robert
- 243
- 1
- 2
- 6
1
vote
2 answers
Add causing php-script to mysql-slow.log
If you enable the line
log_slow_queries = /var/log/mysql/mysql-slow.log
in
/etc/my.cnf or /etc/mysql/my.cnf
then that will log all queries, that take longer than the setting in long_query_time.
On a server with many websites hosted you'll get…

rubo77
- 2,469
- 4
- 34
- 66
1
vote
1 answer
If I have a process which is supposed to be receiving data from multicast, how can I check if it actually is?
I can check gstack, but just because I see the listener threads on the recv call does not mean that call is not returning. One other thing I thought was to do something like:
netstat -lupe | grep
to check the inodes of the sockets…

Palace Chan
- 151
- 1
- 4
1
vote
2 answers
Server does not load WordPress - No HTML nor PHP Errors
I just switched my Dreamhost WordPress site on my VPS from PHP 5.2 Fast CGI to 5.3 CGI. Somehow WordPress now refuses to load and shows a white screen of death on all WordPress pages. PHP Info and static HTML load just fine
I discussed some…

rhand
- 264
- 2
- 5
- 23
1
vote
2 answers
debugging cache control
How can I check if a website is being cached correctly?
I would like the webpages to be cached by browsers, but I also would like that page updates be visible immediatly when a user visits teh webpage (eg not after a forced reload of the page), so…

romeovs
- 113
- 4
1
vote
0 answers
Is Snort able to efficiently demux and log large HTTP POST requests?
I'm trying to debug some failed HTTP POST requests containing large file uploads (~500 MB). The end-user is receiving strange HTTP responses that are not being logged in either varnish's varnishncsa facility, varnish's varnishlog facility, or any of…

Israel Zion Shirk
- 11
- 1
1
vote
0 answers
Debugging apache seg fault with gdb
Apache on a production server of mine is seg faulting intermittently. I have enabled core dump option in apache configuration and have several dumped core files. Unfortunately, since it is a production server, apache or the loaded modules are not…

Joyce Babu
- 251
- 3
- 11
1
vote
2 answers
IP Camera working on lan but not on internet
My IP cam model is Genius 350TR, I tested the cam at home on lan and internet and it worked. Then I shifted it to an office. It works on the office lan setup but I cannot connect to the ip cam from home.
The IP cam is configured for port…

Kevin Boyd
- 191
- 2
- 10