Long Delay When Logging In Via SSH

Feb 22, 2007

For some reason on a box I have, it takes 25 seconds from the time I hit enter for a usernames password for it to login via SSH. I am running CentOS 4.4

Is there something I can check to see why it is taking so long and/or fix this?

View 5 Replies


ADVERTISEMENT

CoreNetworks Startup Delay

May 19, 2009

how long an average a dedicated server from CoreNetworks.net takes?

I need a solution by tonight and I thought if I ordered it early this morning (1 AM) that it would be up by midnight, but not yet.

View 13 Replies View Related

MySQL DNS Lookup Delay - Internal IP

May 30, 2009

I have six dedicated servers on a VPR. I use one of these as the Database server and the other five connects to that server to read the Database.

When I setup my scripts for the first time I used the external IP to connect to the DB server. Everything worked perfect for these weeks:

mysql_connect('174.xxx.xxx.xx', 'user', 'pass');

Since three days ago I finally received the internal IPs of my servers and now I use the internal IP of the DB server:

mysql_connect('10.0.0.1:3306', 'user', 'pass');

When I did this last change this my database started to collapse. Queries stuck on a bottleneck every 10 minutes. Here's an example:

40468 simon 10.0.0.7:47002 pkindigo_db Query 115 Locked update `captured` set hp_left = '79', status = 'normal', att1pp = '25', att2pp = '30', att3p
40523 simon 10.0.0.2:58080 pkindigo_db Query 115 Locked update `captured` set experience = '5120', level = '16', hp_left = '58', hp = '58', status =
... (tons of locked queries before) ...

As you may see table is locked since 115 seconds for a simple update... after some hours this ends on a "#1135 - Can't create a new thread (errno 13); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug" and even some of my tables finally crashing.

I think that my Database stuck because of a DNS lookup delay. When I had this problem before using the external IPs, I added skip-name-resolve and the problem was fixed. But now with the internal IPs it seems that's not enough.

View 2 Replies View Related

Delay In Displaying Published Files

Sep 24, 2008

I host my site on webcity and have done for 6-7months. Most of the time, I publish my web and the changes appear virtually immediately.

Some weeks ago, the lag between publishing and appearing began to take hours. I advised webcity support and the next day back to normal.

Yesterday, it started again. I emailed webcity and their reposnse was - it's your cache. I rang webcity and again was advised - it's your cache (or something your ISP is doing).

I don't believe it is cache. I can refresh the page, close the browser, reboot the computer, clear all temp files (run CC Cleaner) - no difference.

View 8 Replies View Related

Apache :: 2.4.4 - Delay / Pause In Mod Rewrite

Mar 13, 2013

I'm running Apache 2.4.4 Win32 on a Windows 2008 server. When trying to optimize a website I noticed a random reoccurring 2550ms delay in Time To First Byte. A file could have a TTFB of 200ms several times but suddenly it would get 2750ms. This could be a static file (image, html, js) or php. I've measured using ApacheBench (locally and remotely), webpagetest.org and bytecheck.com. After much trial and error I found the problem was with mod_rewrite. Disabling this and everything is fine.

I have setup a blank/new install with only basic config change (Listen, ServerRoot etc) to replicate result without anything else interfering. Following is the rewrite section I add to config.

Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule (^/Pictures.*) /$1 [L]
</IfModule>

After Apache has started I execute "ab http://my.example.com/Pictures/Thumbnails/tmb_400X400_FFFFFF_660.jpg" and always get the delay. If I execute again it's normal. If I wait at least 30 seconds I get the delay. Following is a section from error.log with trace8 logging.

Code:
[Tue Mar 12 23:28:56.123519 2013] [rewrite:trace3] [pid 7624:tid 888] mod_rewrite.c(468): [client 69.x.y.90:36279] 69.x.y.90 - - [my.example.com/sid#42c748][rid#26df0d0/initial] applying pattern '(^/Pictures.*)' to uri '/Pictures/Thumbnails/tmb_400X400_FFFFFF_660.jpg'

[Code] ....

As you see from line 3 to line 4 the time skips 2550ms. When the TTFB is normal then the log is identical except time doesn't change from line 3 to line 4. If I delete the rewrite section in config then TTFB is always normal, no matter what.

When I testet on the live server the time for fully loaded increase from 3800-4000ms to 8500-10500ms when mod_rewrite is enabled. And that is about 30 requests (php+css+js+images). So the impact is significant.

What can this be? I'm having a hard time believing it's a bug. Isn't mod_rewrite used a lot? I'm running Ubuntu (linux) at home, I'm going to install Apache there and see if I get the same result.

View 12 Replies View Related

2-5min Delay In Logins And Misc. Apps.

May 9, 2009

VPS: Openvz, 512mb, 50gb hd, 10mbit shared located in Kansas.

Problem: After entering in my username / password I experience a 2-5 minute delay before the login is processed. I have tried logging in from 3 different ISP's (AT&T, Comcast, T-mobile via Blackberry), 1 webserver (ssh), and HyperVM's Java client. Each produces the same result.

Also, apps such as yum and traceroute produce the same long delays ranging from 2-5 minutes as though the vps locks up or the node has zero resources.

When I use the command center via HyperVM I receive the same long delays. Rebuilding the VPS does nothing. O/S has no affect.

Despite long discussions with the VPS staff they insist there are no problems on their end and that no one else is experiencing this problem. What gives?

View 9 Replies View Related

Apache :: 2.2.22 - Delay Before Page Starts To Load

Mar 1, 2013

I am using Apache 2.2.22 on Windows Server 2003 64 Bit, using PHP 5.2.17. System Specs are 4 x 2.0 Ghz processor, 4 GB of Ram.

I'm noticing when I load my website [URL] .... there is about a 2000ms delay before the page starts to load.

How can I make Apache load faster?

View 1 Replies View Related

Apache :: Awkward Delay / Hang While Using Proxy

Apr 11, 2013

I am using apache proxypass to proxy to 4 different ports (java/jsp applications) with the following configurations (for each):

<VirtualHost *:80>
ProxyPreserveHost On
ProxyRequests Off
ServerName *****.org
ProxyPass / http://*****.org:8080/ retry=0
ProxyPassReverse / http://*****.org:8080/
</VirtualHost>

Everything seems work fine until an awkward delay / connection timeout occurs. The web application hangs for about 5 to 15 seconds and starts working normally after that period. It's certainly not the application's issue because everything is fine when using IP address to access it.

When I enabled the debug log in apache, I found out that every time the server seems to hang, the following error appears in the apache error log and the number of apache child processes keep on increasing (ps aux | grep apache).

[Thu Apr 11 10:20:41 2013] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 4 in child 13208 for worker proxy:reverse
[Thu Apr 11 10:20:41 2013] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Thu Apr 11 10:20:41 2013] [debug] proxy_util.c(1934): proxy: initialized single connection worker 4 in child 13208 for (*)
[Thu Apr 11 10:20:41 2013] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 3 in child 13208 for worker http://*****.org:8080/
.....
Also, the access log (access.log) completely stops during that hang period.

This debug message keeps on repeating as long as Apache/web-application is not responding. The application starts to work normally after that duration and the number of apache child process decrease to the normal number.

Apache version : 2.2.16 (Debian)
OS : Debian GNU/Linux 6.0
root@server:~# apache2 -V
Server version: Apache/2.2.16 (Debian)
Server built: Nov 30 2012 08:58:36

[Code]....

View 3 Replies View Related

Plesk 11.x / Linux :: Postfix Smtp Delay

Jun 17, 2014

I've a problem with a server with Postfix. Emails (smtp) are refused by an operator because there is too many mail sent in a few moment.

With Qmail, we make this config :

1) we create file concurrencyremote
# vi /var/qmail/control/concurrencyremote
with the value 3

2) we restart Qmail and it's ok

With Postfix, we make that :

1) we modify the file /etc/postfix/main.cf
default_destination_concurrency_limit = 3

2) In /etc/postfix/transport :
wanadoo.com slow ;
wanadoo.fr slow ;
orange.fr slow ;
orange.com slow ;
laposte.net slow ;
.wanadoo.com slow ;
.wanadoo.fr slow ;
.orange.fr slow ;
.orange.com slow ;

3) After :
#postmap /etc/postfix/transport

4) In /etc/postfix/master.cf :
slow unix - - n - 5 smtp -o syslog_name=postfix-slow -o smtp_destination_concurrency_limit=3 -o slow_destination_rate_delay=1

5) In /etc/postfix/main.cf :
slow_destination_recipient_limit = 20
slow_destination_concurrency_limit = 3

And we modify :
transport_maps = hash:/var/spool/postfix/plesk/transport, hash:/etc/postfix/transport

6) At the end :
# /etc/init.d/postfix reload

But it doesn't work. Operator "Orange" refused emails.

In maillog, we have :
dsn=4.3.0, status=deferred (mail transport unavailable)

View 3 Replies View Related

MySQL Logging

Apr 5, 2009

Is it possible to log only SQL queries/transactions for a single account (domain)?

I can easily enable logging for the entire server, but I really only need it for a single domain.

MySQL version 5.0.67

View 0 Replies View Related

Web Server Logging

May 6, 2009

Firstly this question is not related to running a web hosting business, but to dedicated servers hosting our own websites.

I was just wondering, other than security reasons, what is the importance (if any) of keeping Apache/WWW logs? Are there legal reasons?

If it is best to keep Apache logs, how should we go about this? If we don't look after them properly there will be massive amounts of logs being kept - what is the best way to store them? I know they can be "rolled over" and kept for a certain amount of time, which is the best utility to do this?

The OS is Linux (CentOS) and the web servers are Apache and Lighttpd.

and should proxy/gateway/cache server logs be kept?

View 2 Replies View Related

Apache: Logging

Jun 10, 2008

I just bought a new dedicated server and have got Lxadmin on it. Now lxadmin , automatically uses a different loggin system than I would want it to use. It creates a seperate log file for each doamin.

They are located in /home/httpd/EXAMPLE.com/stats

EXAMPLE.com-error_log
EXAMPLE.com-custom_log

Now the problem is that I have literally hundreds of domains and I want it to instead log at a single place and not at these hundreds of seperate places.

This is the root cause of my problem

# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.

I am unable to have any kind of centralised logging command because of the individual entries for each Virtual host.

Even if i can manually remove those entries once, and new domain created by lxadmin will have that same problem. Morevoer, any kind of update of lxadmin which rebuilds the database will also ruin all the hardwork that I put in.

Is there any suggestion / solution to this problem? Have centralised data at one place in a single file?

View 4 Replies View Related

Who Here Uses Remote Logging

Jul 20, 2008

Who here uses remote logging?

If yes state what you are using after voting on the poll.

View 6 Replies View Related

Logging Your Servers

Nov 4, 2007

We have quite a large number of servers now but I'm now finding it harder and harder to keep log of the number of details for it. How do the bigger guys keep control on this? Ie: Keeping logs of the serial/product keys of each part in the server, where they were ordered from, what date was it ordered etc?

My collection of growing motherboard, ram, processor boxes (which all store the serials of the products on) are now slowly taking over the office even when flat packed. I normally just write on each of the boxes where the product was ordered from, date of order and server name. While this is all well and good.. 50 servers later it can be a bugger to find the serial of that dedi mobo without going to the DC.

I tried my efforts at a simple Access database but I kept finding I spent more and more time typing in complex keycodes into the DB and just gave up. When this has been done it sounds nice and easy but then I hit another stump.

Ontop of logging a new servers details, how do you log which server is available to be sold, who its been sold too? ATM we have a VPN shared spreadsheet with all the details in (praying that the other employees will actually update it) but Im not sure if it will stand up when it hits 100+ servers rather than the 50+ atm.

View 5 Replies View Related

Can't Turn Off Logging Of PHP Notices

Apr 29, 2008

Running Apache 2.2.2 and PHP 5.2.5, and my error_logs are filling up with PHP notices. I'd like to turn this feature off, but I must be missing something here. I've edited the php.ini and set error_reporting = E_ALL & ~E_NOTICE, and reloaded apache, but I still get the same php notices over and over again in the httpd error log.

View 1 Replies View Related

Sendmail (extended Logging)

Jan 8, 2007

Just turned on extended logging in exim. Went through the log (exim_mainlog) and have thousands of these:

2007-01-08 01:44:10 cwd=/tmp 2 args: /usr/sbin/sendmail -bS
2007-01-08 01:44:12 cwd=/tmp 2 args: /usr/sbin/sendmail -ti
2007-01-08 01:44:50 cwd=/tmp 2 args: /usr/sbin/sendmail -bS

Looked in the /tmp dir. and see nothing interesting. Looks like sendmail has been hijacked. Not sure what to look for now.

View 0 Replies View Related

Logging/saving All 'sent Mail'.

Oct 16, 2007

I have Cpanel VPS account, and have been regularly backing up all my outgoing emails (via SMTP, imap or webmail) with the following:

Added to following lines in /etc/antivirus.exim

Code:
if first_delivery
and ("$h_from:" contains "username@domain.com")
then
unseen deliver "backup@anotherdomain.com"
endif
So, this worked well for the longest time. At some point it 'disappeared' and stopped working which I guess was due to some update, and putting it back it got it working again.

Recently, I had a new vps, moved my domain there and dropped the same bit in, but this time around, it didn't work.

Is it possible that antivirus.exim isn't being parsed? How do I check? Or is there somewhere else I can stick it into so it'll always work and not get replaced by some cpanel update?

View 4 Replies View Related

Server Load Logging

Nov 23, 2007

Is there any script which keep logging CPU and memory usage, sometimes server crashes and i want to know what caused it

View 4 Replies View Related

User Terminal Session Logging

May 31, 2009

I'm looking at allowing remote telnet into my server.

like any security-minded administrator, I want to log what my users type on the telnet session.

I'm using the script command to generate transcripts of the users session.

I have /etc/profile set to automatically start the script command to log user activity, and in /etc/bash.bash_logout I have a command that emails me the transcript of the users' session.

All of the above works well except for one thing:

the users can type "exit" to escape from my script logging and any commands they type won't get logged.

View 14 Replies View Related

Does Anyone Have Snort Logging To A Mysql Database

Apr 28, 2008

Does anyone have snort logging to a mysql database?

I am trying to get that to work so I can view the alerts with BASE.

I followed the instructions but snort is not logging to the DB,

View 0 Replies View Related

Remote Logging, To See Which Server Is Using Most Bandwidth

Feb 28, 2007

Does anyone have an app they use to track the bandwidth/usage for each connected computer/server?

we have multiple servers hooked up to one internet connection, all running miscrosoft windows software. Ideally i would like ONE of the servers running microsoft 2003 to log all others network usage.

All the servers do different things, so it would be great to check which are under most demand etc.

The other thing is, naturally i dont have screens for them all, only one. So this is the main reason for remote logging. Would be hassle to have to Remote desktop into each one to check how there doing every hour etc.

View 3 Replies View Related

No Log Handling Enabled - Turning On Stderr Logging

Feb 22, 2008

We have a box

Cpanel 11
PHP5+ Zend 3.3 +eaccelerator 0.9.5.2+Gzip
CentOS 4

our error_log keeps to have errors

No log handling enabled - turning on stderr logging
Cannot rename /var/net-snmp/snmpapp.conf to /var/net-snmp/snmpapp.0.conf

We have make sure net-snmp is up to date, but still these erros time to time

Client uses drupal system which seems not working well EA, causing a lot of segments fault

The worse is that it seems error happen only when eaccelerator installed

View 1 Replies View Related

Linux IPTables Logging Packets On A Certain Port

Aug 4, 2008

commands to log packets temporarily for a certain udp port with the IP information ect.

Any help would be appreciated. As for what I am doing, I am trying to find anything wierd or something that stands out from the packets sent from external IP's to my server.

View 3 Replies View Related

How To Enable Slow-query Logging In MySQL

Apr 23, 2007

how to enable slow-query logging in MySQL ? Im using mysql version 4.1.20

well i just added following line in my.cnf can you please tell me is it correct way or not?

Code:
log-slow-queries=/tmp/slow_queries.log
log-update = /var/lib/mysql/updates.log

View 6 Replies View Related

Apache :: Threads Stuck In Logging State

Aug 2, 2013

I have Apache 2.4.6 x64 installation. With the lapse of time, more and more threads appear that are stuck in "L" state.

They are all gone after httpd restart, leaving 408 errors in access logs. What can be the reason?

Can mod_log_rotate be involved? Currently it's set to rotate every 2 days.

View 11 Replies View Related

Plesk 11.x / Linux :: Error Logging In After Update

Nov 25, 2014

We have a VPS system running with Plesk but after a nightly automatic update there was a error message in Plesk, with a link to 'fix' the problem. After that Plesk stopped functioning. Now, when we log in with correct credentials (we know its correct because we if incorrect, we get a message its incorrect, so thats working) we're presented with this error:

Error: Call to a member function getName() on a non-object (MainMenu.php:48).

View 3 Replies View Related

Plesk 12.x / Linux :: DRWeb Logging To Console

Mar 25, 2015

Since some days I have the strange issue that all logings from DrWeb is shown directly into the console. For example if I connect to my Server via SSH and then I sned an email to my email accoutn I see the logging of the spool.

root@************:~# 2015 Mar 25 16:44:57 * 127.0.0.1 [13727] /var/spool/drweb/spool/drweb.tmp.tWcneM - archive MAIL
2015 Mar 25 16:44:57 * 127.0.0.1 [13727] >/var/spool/drweb/spool/drweb.tmp.tWcneM/3.part - Ok
2015 Mar 25 16:44:57 * 127.0.0.1 [13727] >/var/spool/drweb/spool/drweb.tmp.tWcneM/4.part - Ok
2015 Mar 25 16:44:57 * 127.0.0.1 [13727] >/var/spool/drweb/spool/drweb.tmp.tWcneM/5.reexport - Ok
2015 Mar 25 16:44:57 * 127.0.0.1 [13727] /var/spool/drweb/spool/drweb.tmp.tWcneM - Ok

this happens in my root shell. if I disable the Email check then this will not happen anymore. another strange issue is that if I restart drweb and I have more than 1 ssh shell open I see the output of the restart on all shells, this issue is only for drweb not for any other service. How to config drweb to log only into logfile not to the console?

I search the web and the only thing I can find was

[URL]

In the FreeBSD operating system, syslog service can intercept information output by Dr.Web Daemon to the console. In this case, the information is logged character-by-character. That occurs when the logging level is set to *.info in the syslog configuration file (syslog.conf).

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved