Finding problems in a program and trying to solve these.
Questions tagged [debugging]
202 questions
2
votes
2 answers
Command that will take a 'system snapshot' of a linux system for later diagnosis?
I am running a Ubuntu Linux server with Apache, wsgi, django and mysql on it. Recently something happened and the wsgi processes frooze up. Restarting apache solved the problem. As with many live systems, it's better to get the system back up and…

Amandasaurus
- 31,471
- 65
- 192
- 253
2
votes
2 answers
How to intercept socket traffic on solaris?
I'm not very familiar with Solaris, so maybe there are tools that I don't know about. I need to debug the communication between two components on the same machine, talking to each other using a normal TCP socket.
Now there seem to be two tools…

Dave Vogt
- 257
- 2
- 12
2
votes
1 answer
Debugging WebDAV using gvfs
gvfs (gnome virtual file system) felt the need to reimplement some of the common filesystems. I'm trying to get people onto our WebDAV shares, but I'm getting pretty cryptic errors.
What I'd like to do is setup gvfs to use a proxy, so I can use…

Evert
- 129
- 2
- 7
2
votes
3 answers
How do I find the query parameters for a prepared statement in an oracle .trc file?
I have an oracle query generating a 3137 error, and the trace file contains the query.
For example:
select x from y where z = :1
I think it would help to isolate the problem if I could determine the specific value of :1, however the 4.7M file…

Nathan Feger
- 151
- 8
2
votes
1 answer
Format Filename for Process Core Files per Session
Is there a way to change the core filename format per session instead of for the entire machine?
On Linux the only way I can find is using sysctl as root:
sudo /sbin/sysctl -w "kernel.core_pattern=core-%H-%N-%P"
On Solaris same problem with…

Charles
- 165
- 1
- 6
2
votes
1 answer
Troubleshooting PHP High CPU on Production Server
We're trying to find a bug that will cause multiple PHP processes to be run at the same time and thus eating up the CPU resources for around 5 minutes. During these 5 minutes, our server will totally inaccessible.
We can't seem to replicate the…
sujoe
2
votes
1 answer
how to debug the apache output filter
i am working on the output filter but it is behaving very abnormally. i am not gettin the the data from the server in continous chunk. it's like first data from the server then next chunk will be the filtered data then again partial data from the…
geeta
2
votes
1 answer
See full HTTP traffic in Tomcat logs
For debugging purposes, I need a way to see all HTTP traffic between our Tomcat installation and the test clients.
How can I configure Tomcat to trace all HTTP traffic (and not just the headers)?
We tried to sniff the traffic using Wireshark, but…

maayank
- 123
- 5
2
votes
2 answers
Run as another user, but also as administrator
I am trying to debug a virtual machine (VM) running on a remote computer from my workstation (A). Both VM and A are running Windows 7 Enterprise.
Apparently, I need to start the Remote Debugger Service (RDS) on VM as an administrator.
Apparently, I…

Tewr
- 123
- 1
- 5
2
votes
2 answers
Debugging Windows 2008 (Roaming Profile) user logon
I would appreciate some help debugging my windows 2008 profile service. Any domain account that logs on to my 2008 machine gets a +- 20 second waiting time on "user profile service"
I am using roaming profiles, they are around 8mb in size, and most…

Jeroen Wilke
- 71
- 5
2
votes
3 answers
Simple HTTP server that will send the same file for all requests?
I need to debug a XML-RPC application, which sends XML replies over HTTP. I have a sample XML reply (i.e. data from the server, sent to the client that isn't working), I'd like to debug my application. Ideally I'd like a simple HTTP server that will…

Amandasaurus
- 31,471
- 65
- 192
- 253
2
votes
1 answer
flowchart for debugging a slow/unresponsive server
So the server is slow:
Roll back to the previous known working build
- Success? Code problem
- Fail? Go on.
Ping ip address
- Success? maybe a DNS problem, go on.
- Fail? Server or connection problem, go on.
Ping and tracert your domain.com from…

davidosomething
- 175
- 1
- 8
2
votes
2 answers
Debugging Prometheus OOMkilled despite 6Gi limits
I'm at the end of my patience with a prometheus setup leveraging kube-prometheus-stack 44.3.0 (latest being 45).
I have two environments, staging and prod. In staging, my prometheus runs smoothly. In prod it has started crashing with OOMKilled…

Liquid
- 131
- 3
2
votes
1 answer
How to get line number of error that .htaccess apache2 is reporting in /var/logs/error.log
I get a internal server error after adding redirects to .htaccess - I've added 600 of them.
I check /var/logs/error.log
[Wed May 12 16:26:02.600394 2021] [core:alert] [pid 8071] [client 127.127.127.127:60816]…

therobyouknow
- 471
- 4
- 8
- 18
2
votes
1 answer
What does `Accept-Encoding: gzip,deflate` mean?
Can someone explain what it means when I see Accept-Encoding: gzip,deflate when listening with ncat?
Does it mean the body is compressed? And if so, how can I decompress it?
$ nc -lnvp 4000
Ncat: Version 7.70 ( https://nmap.org/ncat )
Ncat:…

Sandra
- 10,303
- 38
- 112
- 165