Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Any magento/networking experts here ?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Any magento/networking experts here ?

What could be causing a ./mage list-upgrades call to take sub second time on 1 vps and 35 seconds on another ? looked into dns with namebench that doesnt seem to give me any idea .. similar configs on both 4gb kvm ssd vps both of them

thanx all

Comments

  • No idea what this "mage" thing is, but I'd start by running it with strace -f -T ./mage list-updates to see where the 35 seconds are spent.

  • connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("204.97.212.10")}, 16) = 0 <0.000017>
    gettimeofday({1450683221, 798893}, NULL) = 0 <0.000009>

    it looks like its taking a long time to do dns looks but i have tried namebench and put the recommended dns
    plus tried 8.8.8.8 and 4.2.2.2 too

  • californiakebab said: it looks like its taking a long time to do dns looks but i have tried namebench and put the recommended dns plus tried 8.8.8.8 and 4.2.2.2 too

    Seems unlikely to be the problem.

    californiakebab said: connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("204.97.212.10")}, 16) = 0 <0.000017> gettimeofday({1450683221, 798893}, NULL) = 0 <0.000009>

    You'd have to post a bit more context to get useful info. You're looking for numbers between angle brackets that are high, those particular system calls completed quickly.

    Usually it will block on a read or something and you can backtrack how it got the descriptor to find out what it is stuck with, or it will be obvious from the data that comes in the read.

Sign In or Register to comment.