Questions tagged [debugging]

Finding problems in a program and trying to solve these.

202 questions
1
vote
3 answers

How to verbose log dhcp messages with options values

I am trying to configure dhcp PXE server, but client is not booting as expected. Is there a way how you can watch transferred requested and responded options between client and server? I want to be able to see each individual option value.
Ashark
  • 326
  • 1
  • 7
  • 18
1
vote
2 answers

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 ones I find specify IIS Express and I do not know…
Nick
  • 109
  • 1
1
vote
1 answer

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 preview what a systemctl stop|start|restart…
Amir
  • 837
  • 8
  • 17
1
vote
0 answers

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 faster but the cpu spikes are still there. I…
user1031743
  • 115
  • 4
1
vote
1 answer

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 databases in ClamD, either by simply restarting…
1
vote
1 answer

How to check why a write failed?

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 constant int errno contains (EINVAL,etc.). However, if…
screeb
  • 113
  • 1
  • 3
1
vote
1 answer

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 application servers, running the lightspeed web server…
lipp
1
vote
2 answers

Cannot receive start command

I have a WAMP install (Apache 2.2.3, PHP 5.2.8) with a working Zend Optimizer. As soon as I add the php.ini lines for Zend Debugger: [Zend Debugger] zend_extension_manager.debug_server_ts="C:\zenddebugger" zend_debugger.allow_hosts=127.0.0.1/32,…
markus
  • 602
  • 2
  • 9
  • 18
1
vote
4 answers

503 service unavailable when debugging PHP script in Zend Studio

I have a web server with apache 2.0 installed. It comes with Zend Server install pack. When I’m trying to debug my php files apache serves a blank page with 503 service unavailable. Of course slow server-side code is tying up Apache requests for far…
user25932
  • 11
  • 2
  • 3
1
vote
0 answers

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 giving a generic 500 error. I can't imagine what the…
trademark
  • 188
  • 1
  • 1
  • 7
1
vote
0 answers

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 a synchronous sequential reads with 1MB block…
Gilsho
  • 23
  • 4
1
vote
3 answers

Squid 3.1 does not route traffic via ProxyChains

EDIT START To clarify what I need an answer to: What is different in Squid v3.1 vs v3.0? Why does the above difference not work with ProxyChains? What changes do I need to make to Squid 3.1 to make it work with ProxyChains (compilation options,…
mr-euro
  • 848
  • 3
  • 14
  • 31
1
vote
0 answers

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 on interface eno2 with xxx.xxx.86.24 IP and…
1
vote
1 answer

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 appears to close the connection without a…
Rich
  • 704
  • 14
  • 30
1
vote
2 answers

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 url's with - in the path segment return 404 in…
r3wt
  • 202
  • 1
  • 3
  • 10