Quantcast
Browsing latest articles
Browse All 35 View Live

Comment by Daniel Magliola on How can you know what is w3wp.exe doing? (or...

Thank you very much Carlos! This is what I ended up doing to find the one request (A cron we have) that was killing my server every 5 minutes (it took 3.5 minutes to run, so it was almost constantly at...

View Article


Comment by Daniel Magliola on Error importing large MySQL dump file which...

I'll try asking the hosting guys for that, let's see if that does it. That may take a couple of days, though :-( - What confuses me is that i've been able to import other binary dumps from them in the...

View Article


Comment by Daniel Magliola on Can I change a MySQL table back and forth...

Yes, exactly, I know there are things that InnoDB can do and MyIsam can't, but i'm already on MyISAM, and wouldn't start using transactions until I actually get a feel for the new performance profile,...

View Article

Comment by Daniel Magliola on MySQL: Corrupt ARCHIVE table. Help, Please?

Hi, thank you for your answer. How do I check that? (NOTE: Trying to query information_schema.tables sends the CPU to 100% again) :-(

View Article

Comment by Daniel Magliola on MySQL: Corrupt ARCHIVE table. Help, Please?

Sorry I missed this comment. I'd hope last night. My client's supposed to have arranged backups with the hosting company, but I don't know for a fact. I'm hoping to not have to count on Backups,...

View Article


Comment by Daniel Magliola on How long does Linux (by default) cache...

Is running the command "sync" the way to flush the cache? Because if it is, that doesn't seem to be doing it for me. I don't need to flush pending writes to HDD, I need to kill the cache that makes it...

View Article

Comment by Daniel Magliola on How to configure Amazon S3 permissions to host...

Interesting, hadn't found those. Do I need to use CloudFront to use them? Or can I use S3 directly?

View Article

Comment by Daniel Magliola on How can I set up an SFTP server backed by S3...

Thanks for your constructive comment @HopelessN00b. For anyone else that may've been dissuaded from answering by that idea... We've run the math, yes, transferring and holding that amount of...

View Article


Getting rid of a specific windows update on Windows Server 2008?

I've just moved from Windows Server 2003 to 2008, and I'm having a very annoying experience with Automatic Updates.In Windows 2003, when it "suggested" a package and I chose not to install, it asked...

View Article


Why can't I connect to this IIS FTP?

I have a Windows 2003 server where i've configured FTP in IIS.I'm by no means an expert in FTP configuration, and I don't recall any special settings I could've made.This worked initially, but at some...

View Article

Is it normal to get bandwidth as the first scalability bottleneck with a 100...

I'm stress testing a site that we're making, and we're finding a very surprising result compared to my expectations:Our site starts to load very slow with a few hundred simultaneous people, even though...

View Article

Weird network interaction between Vista and Ubuntu

I have a network where my WAN (a CableModem) goes into a (dubiously configured) Ubuntu box which acts as the router for the whole company.We recently switched our ISP, and we're getting a very weird...

View Article

Server 2008 locks me out when not using the machine for 10 minutes after...

I have recently installed Service Pack 2 on my Windows Server 2008 machine (which I use actively for development, and i'm always logged on to).Now, after this installation, when I don't use the machine...

View Article


Answer by Daniel Magliola for Server 2008 locks me out when not using the...

Answered here: https://superuser.com/questions/51416/server-2008-locks-me-out-when-not-using-the-machine-for-10-minutes-after-installi/51425#51425

View Article

Answer by Daniel Magliola for Finding day of week in batch file? (Windows...

Ok, found an answer...I couldn't find a way using plain BAT files, but if you have access to powershell...@echo offpowershell date > date.txtfind/i "Fri" date.txt > nulif errorlevel 1 goto...

View Article


Sql Server 2008 Backups not quite running

I'm running a server with SQL 2008, and backing up the database with a "regular maintenance plan". (I'm not an expert by far in configuring SQL Server).The execution of this plan is automated by a SQL...

View Article

Dedicated Hosting offering Intel Core 2 Quad @ 6GHz. Is this real?

sorry if this is a very dumb question, but...I just got an offer from a dedicated hosting company, offering me a box with "2 Core 2 Quad processors @ 6GHz"I didn't know we could get 6GHz, and some...

View Article


Answer by Daniel Magliola for How can I remove HTTP headers with .htaccess in...

Just replied to my own question...Header unset PragmaHeader unset Last-ModifiedHeader unset Cache-Control

View Article

Answer by Daniel Magliola for Linux Cron: Can I displace the runtime by "x"...

DUH, just found it...8,18,28,38,48,58 * * * * /home/blahblahSorry about that.

View Article

Will SQL 2008 Express still have a 10Gb limit if I use it to open a 2005 MDF...

I have the following situation: I have a production site running on SQL 2005 Express (only because it's free), and it's a reasonably big DB, and i'm always incredibly close to the 4 Gb limit. Every now...

View Article

Answer by Daniel Magliola for HTTP POST request over SSL between 2 websites...

In the end, I ended up rewriting the script to use cURL instead. I don't know what happened, but cURL works. This is one of the weirdest things I've found...

View Article


HTTP POST request over SSL between 2 websites on the same server failing if...

NOTE: Although there's some PHP code below, I really believe this belongs to ServerFault more than StackOverflow, esentially, because this worked and it stopped working after we changed servers.I have...

View Article


How can I remove HTTP headers with .htaccess in Apache?

I have a website that is sending out "cache-control" and "pragma" HTTP headers for PHP requests.I'm not doing that in the code, so I'm assuming it's some kind of Apache configuration, as suggested by...

View Article

Synchronizing files between Linux servers, through FTP

I have the following configuration of servers: 1 central linux server, a VPS 8 satellite linux servers, "crappy shared hostings"I have a bunch of files that I need to have in all servers. Right now i'm...

View Article

Can I change a MySQL table back and forth between InnoDB and MyISAM without...

I have a site with a decently big database, 3Gb in size, a couple of tables with a dozen million records.It's currently 100% on MyISAM, and I have the feeling that the server is going slower than it...

View Article


Partial-stroking / Short-stroking / Half-stroking Hard Drives?

Could anyone here explain to me what is implied by this term? (I've seen the same thing mentioned with the 3 terms).At first when I read about it, for some reason I understood that it was some way of...

View Article

Answer by Daniel Magliola for How can I have SQL Server Management Studio...

OK, so this is what I did (I'd like to edit the accepted answer because I based this on his idea, but I don't have enough points...)I set SSMS to start with "an empty environment", so it doesn't prompt...

View Article

Linux Cron: Can I displace the runtime by "x" minutes?

NOTE: I'm a big newbie when it comes to *nix.I have a cron configuration that runs several programs. Most of them run once a day, and they're set at different times (2AM, 3AM, 4AM, etc) so they don't...

View Article

How to configure Amazon S3 permissions to host files for my mobile app

I have a mobile app that uploads files to a server and needs to be able to download them. I'm using S3 to hold the files, and have a RoR backend to manage all this.Is it possible to have the following...

View Article



How can i easily password protect a site in Apache/Windows?

I have a website i'm hosting in Apache (on Windows), and i'd like to protect it so that anyone going in needs to enter a password. This is not meant to be a fortress of security, I know this sucks, but...

View Article

How can I have SQL Server Management Studio 2008 connect to my instances...

I'm running a server with 3 database instances.Right now, when I open Management Studio, it opens the "Connect" prompt that lets me choose which instance I want (or connect to anything else).Would it...

View Article

Image may be NSFW.
Clik here to view.

Error importing large MySQL dump file which includes binary BLOBs in Windows

I'm trying to import a MySQL dump file, which I got from my hosting company, into my Windows dev machine, and i'm running into problems.I'm importing this from the command line, and i'm getting a very...

View Article

Finding day of week in batch file? (Windows Server 2008)

I have a process I run from a batch file, and i only want to run it on a certain day of the week.Is it possible to get the day of week?All the example I found, somehow rely on "date /t" to return...

View Article


MySQL dying on startup

I have just restarted my dev machine, and now MySQL refuses to start up. When I start the service, it instantly throws an exception and dies...I can't think of anything I could've changed before...

View Article

Image may be NSFW.
Clik here to view.

How can you know what is w3wp.exe doing? (or how to diagnose a performance...

I'm having a performance problem in a site we've made, and I'm not exactly sure how to start diagnosing it.The short description is: We have a very small site (http://hearablog.com) with very little...

View Article
Browsing latest articles
Browse All 35 View Live