Is there a way to get Apache to tell me which .conf file it is loading at start-up?
There's a box that's misbehaving and Apache is running on port 80 and 8080 on the box... but we can't locate *why* it's running on port 8080. I can't find any Listen 8080 statement in the typical config files. If I knew which config files it was loading, I could go through all of the files in more detail.
For past one week, my wordpress based blog is just dead, becasue of heavy trackback/pingback spamming(500 a minute). I've tried various plugins, but to no avail.
In addition to stop spammers before generating PHP load, I've tried all possible HTACCESS rules, but to no avail. I truly sure, I've done something wrong.
May I request the experts here to advice on how to stop this ongoing spamming?
My website (Large Discussion Forums Site) is under a heavy DDoS attack since 3 weeks. My first host could not handle such an attack so I moved to another who claimed to have a firewall that can handle the attack, but still, the site is down.
Anyone has a good suggestion to get the site up and handle the attack? Any particular hosts that can help me?
(The Forum has its own server and does not use Apache).
I have a Windows Server 2003 Enterprise (32 bits) running IIS 6.0, with ASP.Net 1.1.4322. Basically it's an application and image server, that has a large amount of concurrent accesses.
Around 800 users simultaneous access simulteneously and ASP.NET app, that will request some date from an MS-SQL Server database and point the browser to image file (all at once), every few seconds (it's a live webcast applications). The server is quite robust, with 500 GB in a RAID-5, 4 GB RAM, Dual Opteron Processor.
When the users access it, the machine memory and CPU usage a low. Also it has plenty of bandwidth, since it's directly tied to a Gigabit port on the datacenter. I kept an eye on all paramenters and there is no imporant bottleneck on the hardware side.
Here is my problem: after some "images" are sent, with 800 users, the users start getting a 503 error, and can no longer access the images.
On IIS HTTPErr Logs, I found these errors to be "Timer_ConnectionIdle". I believe it has something to do with the way the Application Pool is handling all those concurrent connections. No references to it are made on Windows Logs.
I've already tried tweaking all those paramenters on the Application Pool, but no results. For example, I tried increasing the Request Queue Limit value, but that doesn't seem to make any difference.
Also, I inserted "MaxUserPort=65534" on TCP configurations on regedit. Rebooted. Also, tried turning off keep-alive and decreasing connection timeout, then a restart of the w3svc (see [url]for the explanation about this). Tried changing each parameter individually and tested. No big difference after each modification.
Has anyone ever seen this? Is there a way to get this solved? Again, this address [url] has a description of what seems to be my problem... but I didn't manage to get this solved.
I have recently acquired a nice box (2x Dual Core Opteron 275 2.2 GHz, 16 GB RAM, 16x500 GB SATA @ RAID5/6) but I'm unsure if it isn't smarter to buy smaller machines (like X2 5600+, 4 GB RAM, 2x400 GB HDD) and put like 15-20 customers on it.
Yes, I know that the hard drives are more than oversized for VPS hosting
The Opteron server will have a very, very nice I/O performance so that customers are going to have a good feeling while working on it. To refinance the costs it would of course be neccessary to put not less than 125 VPS on one box, so I can imagine that there'll be a bottle neck somewhere (CPU power I'd guess?).
What is your opinion? Big boxes with high performance and loads of customers, or small boxes with not-so-many VPS?
I run a filehosting site actually and there are alot of people downloading at the same time which i think the server goes down and then httpd restarts itself and all the people downloading the files, their files get currupted.
One of my Cpanel servers is showing heavy data transfer this month. In 6 days, it crossed 600 GB data transfer which is equal to what it did last month. Also, all the websites collectively have only consumed around 60 GB data transfer in 6 days. How do I find out what exactly is causing heavy data transfer?
Are there any hosting companies that use an Enterprise strength SPAM solution such as IronPort?
We have 3-4 business websites and spam, especially within the last 6 months, has become a tremendous problem. At least 100 spam emails a day are being delivered.
Spam filters do not solve the problem - they simply put some percentage of spam in a folder, often genuine emails, and we still have to go through it manually.
Do not mind paying a premium for the hosting. Any hosts that offer HEAVY DUTY spam protection?
how can i do a search for all files (probs using regex) of files consisting purely of numbers?
for e.g. find:
53243.php 24353.php 24098.php
(always have 5 numbers).
seems one of my accounts has had some script run which generated a bunch of these in various subfolders, and the php file basically does a callback to www3.rssnews.ws and www3.xmldata.info, which seem to be some sort of spyware servers.
I have 2 identical Fedora8 boxes with Apache 2.2.8, MySQL 5.0.45 and PhP 5.2.4. I use one as the Web+DB server (say box A), and the other (box B) just as the Web server connecting to the DB server on box A. I use this 2 machine configuration to test a LAMP based-Web application. I have a client program on other machines that can emulate a massive web workload to these 2 servers; it can emulate hundreds to thousands of users using the application simultaneously.
Before running the test, the connection to the DB server from both boxes seem fine. Using the mysql client program on either box A or B trying to connect to the DB, the connection goes through instantly. In the /etc/my.cnf file, I have max_connections=4096 and max_user_connections=4096. Note that the web app uses one single db user to connect to the db. To allow remote connection, I inserted one record into the user table of the mysql db whose the host field's value is '%' (allow connection from all remote hosts).
After running the test (which I found out that many requests sent to box B failed), mysql client program on box A is still able to connect to the db instantly; but the one on box B has a problem: it takes extremely long (5 - 10 minutes or even more) to establish the connection, it doesn't time out, just takes that long. I believe that's the cause for the failure of requests to box B.
We are facing a very problematic situation since last several months due to accessive bandwith usage. But we are sure this is only local traffic.
We have 2 Servers with our hosting provider Server A - this is a VPS all our webfiles/domains/dns/nameservers reside on this server
Server B - this is a dedicated server contains only databases
(we are actively running vbulletin based forums on this servers)
Since last several months we are facing huge bandwith increase since we have transferred only our databases to Server B. (earlier database + everything was on Server A) We never ever consumed even 50% of the entire allocated bandwith in past when we were on Server A.
But only after moving the database from Server A to Server B we have found this tremendous increase,
Can we do something about same ? as both the servers belong to same hosting provider. We are not sure but expect that this is only local network traffic between 2 servers.
We are facing a very problematic situation since last several months due to accessive bandwith usage. But we are sure this is only local traffic.
We have 2 Servers with our hosting provider Server A - this is a VPS all our webfiles/domains/dns/nameservers reside on this server
Server B - this is a dedicated server contains only databases
(we are actively running vbulletin based forums on this servers)
Since last several months we are facing huge bandwith increase since we have transferred only our databases to Server B. (earlier database + everything was on Server A) We never ever consumed even 50% of the entire allocated bandwith in past when we were on Server A.
But only after moving the database from Server A to Server B we have found this tremendous increase,
Can we do something about same ? as both the servers belong to same hosting provider. We are not sure but expect that this is only local network traffic between 2 servers.
i am getting iptables errors when reloading APF, and after that APF takes a few seconds to move thru each line in deny_hosts.rules (and also other rules files). is this normal? if i have a very long list of deny rules wouldnt this delay loading other rules?
(running centos/virtuozzo 2.6.18-028stab062.3)
Code: /etc/apf/apf -r apf(7689): {glob} flushing & zeroing chain policies apf(7689): {glob} firewall offline apf(7721): {glob} activating firewall apf(7761): {glob} determined (IFACE_IN) venet0 has address 127.0.0.1 apf(7761): {glob} determined (IFACE_OUT) venet0 has address 127.0.0.1 apf(7761): {glob} loading preroute.rules iptables: Unknown error 18446744073709551615 iptables: Unknown error 18446744073709551615 iptables: Unknown error 18446744073709551615 iptables: Unknown error 18446744073709551615 iptables: Unknown error 18446744073709551615 iptables: Unknown error 18446744073709551615 iptables: Unknown error 18446744073709551615 apf(7761): {resnet} downloading http://r-fx.ca/downloads/reserved.networks apf(7761): {resnet} parsing reserved.networks into /etc/apf/internals/reserved.networks apf(7761): {glob} loading reserved.networks apf(7761): {glob} loading bt.rules apf(7761): {glob} loading deny_hosts.rules apf(7761): {trust} deny all to/from 124.166.250.250 ' not found.3.5: host/network `124.166.250.250 Try `iptables -h' or 'iptables --help' for more information. ' not found.3.5: host/network `124.166.250.250 Try `iptables -h' or 'iptables --help' for more information. apf(7761): {trust} deny all to/from 200.233.149.110
I have a Shared Hosting , and a Vps . i use the VPS to Storage Audio files and Leach to them from my Shared Hosting . the shared hosting Only Has Some php, and Html pages with the links to leach from the vps ..
Now which One Gets The Load , or which one is the One Suffering the Load . the Shared Hosting or the VPS ..
I have a weird issue with my Plesk VPS. If I restart the VPS it will work find for about 20 minutes and then go down. All my websites will continue to load and load until they time out.
The weird thing is, I can still access everything. FTP, Plesk, SSH. Just no my websites.
This is a little wierd, I am not able to see any of my websites on my home network, but from anywhere else it seems too load just fine. Even when i go through a proxy site they load. I'm still able to get to WHM and cPanel from my home but the websites themself do not load.
this started happing yesturday and after a few hours it seemed to work again on its own.
I realize the title isn't clear enough, but that's the closes to my question
What I basically want to know is if its possible to add pgql support for PHP without rebuilding PHP (running easyapache). Currently all standalone phppgadmin instaces return:
Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.
Is it possible to load the pgsql extension without rebuilding, like you'd do with zend for example.
I have this problem with my hosting provider. Website is loading slowly (sometimes up to 10 sec) from my location. I've made several checks:
1. Script execution time is within 0.1 sec.
2. Tracert shows times within 0.3 sec.
3. Also, host-tracker.com shows average loading time ~2.0 sec (they check from 20-30 different locations around the world).
So, the questions:
1. What can cause such long slow-downs?
2. What average loading times can be expected from shared hosting? Is 2.0 sec (average) good or bad? For example, google.com has average response time of about 0.2-0.3 sec, but they have many servers around the world.
regarding the speed of loading my website. How do you find in terms of speed of my blog? Is it slow? - My blog: mangochico.com
I am contemplating in changing host as I believe my current host isn't up to par when it comes to loading times.
Tell me what you think about the loading times and if you happen to know a good, reliable and fast host please list it below so I can take a look at it and see if it fits to my needs.
I'm running a forum system on my server. Loading pages that don't connect to the forum database load normal. Whenever I browse any page that connects to the forum database on my forum, the page either takes ages to load or times out loading. I never exceed using 14% of one of my two cores, I'm using a quarter of my 1.5GB ram. It's only been loading slow like this since I've switched from running Windows to Ubuntu Server 8.10. I enabled logging slow queries on SQL, but nothing's been recorded. I've installed the server packages through Webmin,
when I access the server through its local IP address it's still very slow.
I have a website www.officegofor.ca. The site takes a very long time to load. I don't think it's because of the server's connection speed. What would be the best way to diagnose the problem? What could the problem be? I noticed that it get's slower and slower with time and when I restart apache it's faster (but still not fast enough).
I signed on to a host just a few weeks ago and from my computer at home I got some work-in-progress pages up and running. However, I tried looking at the pages from some other computers and get weird, inconsistent results. In those computers either my site page loads, or GoDaddy domain parking page loads (I registered the domain with GoDaddy).
Why are some computers referring back to GoDaddy's page while in other places they go right to my pages on the web host? Have I did something wrong in setting up the nameservers? Currently I have my host's nameservers on the top of the nameserver list, but GoDaddy's are still on the list, although below my host's in priority order.