Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8093425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:30:04+00:00 2026-06-05T20:30:04+00:00

I am having a problem on my local machine when I am doing testing.

  • 0

I am having a problem on my local machine when I am doing testing. I have a pool of memcached servers that my PHP code is trying to access. Thing is, these are private IPs so my local box’s code doesn’t have access to them.

The problem I’m having is that the getDelayed() call hangs for 8 seconds waiting for a connection locally. Is there anywhere to adjust the timeout period?

Why does it even need to wait for a connection before returning? My understanding was that getDelayed() was supposed to be an asynchronous call but control is not yielding back from the function until it times out.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:30:05+00:00Added an answer on June 5, 2026 at 8:30 pm

    Reposting my comment from above so I can mark this post as answered:

    Found the option I needed to change. It was OPT_CONNECT_TIMEOUT I changed it to 10 but still need to do some testing on our private network to see if that is too low for actual use. But it fixed the problems on my development box.

    self::$memcache->setOption(Memcached::OPT_CONNECT_TIMEOUT, 10);

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having problem with datagrid view. I have attached an image with the code
I am having a problem with code that worked fine in .NET 2.0 but
PHP mySQL Hi, i am having an interesting problem. I have a form in
I'm having a problem binding my websites on my local windows 7 machine. When
I have the following setup: Code on my local machine (OS X) shared as
I'm having problems including local javascript files into my html that is on the
Im having problem in my UIscrollView ,this is what I have done: Whenever a
I am having problem with drawing multiple lines during repaint. The code is as
I'm having some problems running a webservice on my local machine. it's an asp.net
On my local machine, the symfony project I have created works perfectly. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.