Questions tagged [strace]

86 questions
0
votes
1 answer

monitor processes in citrix

Where I work, We've been having trouble with certain applications mysteriously crashing/hanging in citrix; the primary culprits are IE8 and a certain .net-based industry specific app that we use. I've yet to actually catch either/any of these…
la11111
  • 113
  • 3
0
votes
1 answer

secure rollback of updates

I'm again and again wondering why there isn't (or did I just not find it?) any tool which can reliably and effortlessly rollback changes done by updates. Let me take an update with apt on Debian as example. There's this new package and there are the…
didi_X8
  • 147
  • 1
  • 6
0
votes
2 answers

Using strace effectively

Right now I'm dealing with a client's php based site that is somehow clogging up all of the available processes he has with his shared hosting provider. I'd like to prove to him exactly what and how many processes are being ran at a time when a…
b1kjsh
  • 123
  • 1
  • 4
0
votes
3 answers

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 Daemon failed to start. Starting mysqld: …
0
votes
1 answer

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, 0xffa00af0, 1 How would I find out the PID that last…
Gaius
  • 1,471
  • 1
  • 12
  • 19
0
votes
0 answers

Why server response time is more than a minute for a website, it happens for one website and other website loads fine?

I have multiple websites hosted on this server and one website "server response time" is very very high (more than a minute). below are the findings... and i am unable to understand whats going wrong, and unable to understand the strace command…
0
votes
1 answer

memcached causes Apache processes to hang indefinitely

I have been tracking down the source of Apache processes hanging indefinitely. Unfortunately, I need to regularly reboot Apache as it eventually exhausts all slots. The Apache status page below shows processes hung in the W - Sending Reply state -…
tom_nb_ny
  • 51
  • 1
  • 9
0
votes
1 answer

Dump client ssh key from server side

To investigate on some issue, I need to dump the full ssh key offered by the ssh client to the ssh server. Up to this point, I tried to put the parent of all sshd server (belongs to root) LogLevel to DEBUG strace -f (to follow child processes) the…
kalou.net
  • 103
  • 2
0
votes
0 answers

WSL PING "system error"

I have a weird PING error in WSL2, Ubuntu 20.04 distribution. When I'm doing nslookup - all ok: root@i:~# nslookup google.com Server: 172.19.224.1 Address: 172.19.224.1#53 Non-authoritative answer: Name: google.com Address:…
0
votes
1 answer

Dovecot cannot read TLS certificate

On my CentOS 7 system I am trying to run dovecot with TLS required. For that, I created my private key and certificate in [root@homeserver /]# ls -lZ indernet/cert/homeserver.* -r--r--r--. root certuser system_u:object_r:default_t:s0 …
Hiran Chaudhuri
  • 113
  • 1
  • 7
0
votes
1 answer

How to configure nginx better to reduce redundant system calls when APIs are called?

I have a Laravel application running in production, and there are a few APIs that used a lot. Something was creating a bottleneck and it used to stall our servers (3 with Load Balancer). After optimising the basics in Laravel, caching config,…
Rohan
  • 135
  • 3
  • 12
1 2 3 4 5
6