Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [debugging]

Finding problems in a program and trying to solve these.

1
vote
1answer
23 views

Set ASPNETCORE_ENVIRONMENT in Google Cloud Flex App

I have an error in my asp.net core 2.1 app and would like to set the ASPNETCORE_ENVIRONMENT setting to Development so that I can better debug. There are samples for the appsettings.json file, but the ...
0
votes
1answer
31 views

Monitoring HTTP 5xx errors in an Azure App Service

The Azure App service UI used to have an ability to inspect 5xx errors directly. Since we starting using Azure, the UI has been changing almost constantly though, and this ability seems to have ...
0
votes
0answers
33 views

Preview or debug (dry-run or trace) systemctl actions (start, stop, restart, etc.)

Without having to manually trace dependencies, e.g. with systemctl show or systemctl cat, and manually inspect the state of the system with systemctl status and systemctl list-units, is there a way to ...
1
vote
1answer
375 views

Why is MemAvailable a lot less than MemFree+Buffers+Cached?

I'm running a Linux workstation without swap and I have installed earlyoom daemon to automatically kill some processes if I'm running out of RAM. The earlyoom works by monitoring kernel MemAvailable ...
0
votes
1answer
41 views

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....
2
votes
2answers
42 views

How do I Identify an anonymous process that's changing a system setting?

I see an anonymous process changing the time of my systemtime to UTC every 80 sec. Using the journalctl -f command I only see a message that says 'systemd[1]: time has been changed' but it doesn't ...
0
votes
0answers
89 views

How to debug Oozie action stuck in DONE state

I have an Oozie workflow that is used for all jobs and since few days some of the jobs submitted get stuck in RUNNING. Looking at the job the last action is in DONE state. oozie job -info 0014479-...
1
vote
0answers
733 views

PHP FPM pool www - 100% spikes when executing scripts - how to debug

I am experiencing weird 100% spikes of cpu when loading drupal pages. It started several months ago and now Im trying to debug this. I moved same database and files to new hosting - everything runs ...
0
votes
0answers
82 views

How to debug AWS SNS not delivering message to Lambda

I have an SNS topic for operator notifications to which I have a Cloudwatch Alarm attached. I have a Lambda subscribed to the topic that should post the notifications to a slack channel. Unfortunately,...
1
vote
1answer
68 views

Why does my VM become slower during CPU-heavy tasks after some days of runtime?

I'm dealing with some strange problem for some time now: After some days of runtime, one of my VMs seems to become slower on CPU-heavy tasks. One example were this happens is reading virus signature ...
0
votes
0answers
197 views

Citrix Server with Server 2008 R2 svchost.exe Occasionally Crashes On Startup

Issue occurs across multiple Citrix severs running Windows 2008 R2. After svchost crashes, the services start fine. It is not the same service responsible every time. I am looking for ways to further ...
0
votes
1answer
97 views

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 ...
0
votes
1answer
124 views

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 ...
0
votes
0answers
97 views

How to enable/install kernel-debuginfo linux-4.14.14 on amzn-linux? [duplicate]

I'm on an amzn-linux instance which by default runs linux-4.9. I've compiled and booted linux-4.14.14 from source and I've compiled systemtap from source. Now I'd like to get them both working nicely ...
0
votes
1answer
948 views

NTP rejecting upstream due to “peer_dist”

Currently NTP is rejecting its upstream and is drifting quite badly (15 seconds of offset so far and growing). When checking the reason using ntpq the flash code is flash=400 peer_dist. Checking the ...
1
vote
1answer
721 views

How to check why a write failed? [closed]

If I was to debug a service on a machine and I determined that a write was failing, how could I check why the write failed? I know the system call in C will return -1 and then we can check what ...
1
vote
1answer
238 views

Can not connect right now. can not assign requested address?

We are experiencing high load on our dedicated servers lately. Users see the error message "can not connect right now. can not assign requested address" popping up randomly. We have 2 Linux ...
2
votes
1answer
338 views

What might be causing repeated mmap/munmap in strace results?

I have a (node.js) application which is occasionally causing 100% CPU usage. I've attached to the process with strace when it's been in this state - but I don't know what to make if the strace output....
2
votes
1answer
779 views

Debug DNS: What to do if host name resolution does not work as expected?

The current search results for "debug dns" don't reveal a guide-line what to do, if you (as user/client) think there is something wrong with the host name resolution. What steps can I do to narrow ...
1
vote
0answers
47 views

ASP.NET MVC App Redirects Break in Azure

Info I'm developing a web application in ASP.NET MVC. It works great running locally (or even on a test server on my network). The moment I push it up to Azure, a couple of the redirects break ...
1
vote
2answers
2k views

how to debug/troubleshoot collectd?

I have an issue with custom script using exec plugin. From shell the script works well and nothing useful in /var/log/collectd.log. LoadPlugin logfile <Plugin logfile> LogLevel info ...
0
votes
0answers
300 views

Server returns empty JSON object to browser: {“error”:{},“message”:“Not Found”}

I just cloned an Angular2 and Express server/client library, which I'm attempting to use as the foundation for a new frontend/API/database setup, serving from my pre-existing server (at the moment I ...
1
vote
1answer
3k views

How to debug/log 502 Bad Gateway from reverse proxy?

We're running a web service and hitting 502 Bad Gateway randomly. The 502 is reported by reverse proxy (Apache 2.4.x) while talking to backend server (Apache 2.4.x). The problem randomly re-appears ...
1
vote
0answers
113 views

SSD bandwidth issue and analysis

I have Intel's P3700 SSD mounted on a Lenovo x3650 M5 server with two Intel Xeon E5-2630 v3 CPUs. The server is running Ubuntu 14.04 with 4.6.4 Kernel. I've been using fio to benchmark the SSD using ...
0
votes
0answers
264 views

Drupal on Apache: Consecutive PHP errors “Maximum execution time of 240 seconds exeeded”

This Apache/MySQL server (Debian 8) running a Drupal site shows a strange behaviour: There's always one Apache process running with 100% CPU utilization (according to htop). Every four minutes (~240 ...
2
votes
0answers
297 views

Obtaining a Crash Dump from a dying IIS ASP.NET Worker Process

(Not sure if this is an IIS problem or not, so if this is better suited for SO I'll happily move it...) We have an IIS-hosted application that is sporadically dying, and the event logs claim that the ...
1
vote
0answers
296 views

debugging “eth interface using wrong IP” on server

My Uni provided me two hostnames and static IPs for two interfaces on my Fedora Server 23. My idea is to use one hostname for production and another for dev branches. It should work as: bio-db.uni.edu ...
2
votes
1answer
2k views

Verifying RADIUS server is sending the correct certificates?

How can I see the TLS (SSL) certificates that my RADIUS server is using, to make sure it is sending the correct certificate and chain? I am implementing 802.1x authentication with a RADIUS server, ...
0
votes
1answer
116 views

Log all bash actions with multiple scripts

Using the command below, I can log all actions that happened inside that script. bash -x script.sh Sadly, the script calls another script, which does not have the -x setting active then, i.e. the ...
1
vote
1answer
2k views

Occasional “failed to respond” from AWS hosted Elasticsearch

We have an Elasticsearch cluster hosted on Amazon Elasticsearch Service (AWS). We are using the Jest Java HTTP Rest client for ElasticSearch. Every now and then (perhaps 1 in 10,000 requests), it ...
2
votes
0answers
517 views

How to reliably capture Linux kernel log messages in case of a system debilitating crash (BUG, panic)?

I'd like to have access to the lines/tracebacks/whatever whispered by the kernel right before dying. This has proven problematic, because all interfaces I have access to become disabled. Post-reboot, ...
2
votes
0answers
176 views

Show or log long queries with values instead placeholders

I have any very long sql query in postgresql. I tried show what postgress do with: select * from pg_stat_activity unfortunately I see something like: select some_fields from anytable1 anytable2 ...
1
vote
2answers
962 views

bizarre 404 on nginx

i have a location block for / that passes any virtual paths to index.php as instructed on the nginx pitfalls page. i have been using this setup for some time now, but recently i have noticed that some ...
0
votes
1answer
37 views

Debug Logging daily task

I manage a domain with 4 domain controllers and i have been asked to enable Debug Logging for Incoming and Request packets. I have set the maximum size of the log file to 500MB. First question I have,...
1
vote
0answers
135 views

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 ...
1
vote
1answer
51 views

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,...
0
votes
1answer
2k views

What are the first steps to debug nginx default page not showing on fresh Ubuntu vm install?

On a fresh Ubuntu 14.04 virtual machine I've run the following commands: sudo apt-get update sudo apt-get upgrade sudo apt-get install nginx sudo service nginx start In a browser, if I go to the ...
1
vote
0answers
260 views

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 ...
2
votes
1answer
1k views

What steps are required to debug a memory.dmp? (walkthrough included)

I woke up to this in my eventlog today: The computer has rebooted from a bugcheck. The bugcheck was: 0x000000ef (0xffffe0018668f080, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000). A ...
-1
votes
1answer
473 views

Tons of 500 errors like - fcgid:warn Bad file descriptor: client mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

I copied a site over to GoDaddy from LiquidWeb because LW experts were unhelpful even if more knowledgeable. GD is hit or miss. On the Godaddy hosting I get 500 errors constantly when in admin ...
2
votes
1answer
934 views

Tracking down a memory leak

I previously asked a question about a server that had a very high nonpaged pool memory utilization and someone explained how to use poolmon to track down the problem driver. I did this, but I'm not ...
0
votes
1answer
55 views

Error with a specific bash script

I must first of all shamefully admit that I unfortunately know nothing about scripts... I am simply trying to use one that seems to fit my goal. I am running a VPS node with OpenVZ, and I need a ...
0
votes
1answer
428 views

Debugging random SQL login failure from Web Server

This is a very basic level question, but it could really benefit from some extra help in the diagnosis. We have a 2005 SQL Server Named: SERVERNAME-PROD We have a Web Apps Server that's running IIS 8....
0
votes
1answer
141 views

Installation of FreeBSD freezes on VMware

I am trying to install FreeBSD on VMware by mounting FreeBSD-9.2-RELEASE-i386-dvd1.iso. The installation proceeds fine untill i reach the following screen I have been waiting for an hour and ...
-1
votes
2answers
47 views

Querying a webserver as if request came from a certain remote IP?

I am having trouble with my Apache web server configuration since a number of remote clients receive 404s, while the majority of clients (me, locally, included) do not have any trouble (status 200). ...
2
votes
1answer
3k views

Linux kernel bug w/ netns and/or Xen guest - “unregister_netdevice: waiting for lo to become free”

I am running a web crawler in a Xen-based VM (on Linode); it makes heavy use of network namespaces to control use of VPNs on a per-crawl-process basis. It's been running mostly continuously for the ...
6
votes
4answers
2k views

How to pinpoint which process/activity/software/protocol is slowing down LAN on a single computer

From this question about debugging our business LAN I've been able to pinpoint a single computer which slows down our network. When the computer is turned on and connected to the network, roughly 5% ...
1
vote
2answers
124 views

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 ...
-1
votes
1answer
767 views

Debugging slow network [closed]

I've been tasked with debugging why my company's network connection is running slow. Having no previous experience in this field I have absolutely no clue where to begin or what tools to use. The ...
4
votes
1answer
7k views

Describing `strace` command output

I have php process which could not finish for more then 2 days. root 26511 0.0 1.6 407788 27684 ? Ss Jul09 0:08 /usr/bin/php action.php This is the output from the strace command: ...