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 8805487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:52:49+00:00 2026-06-14T01:52:49+00:00

I am writing a wordpress plugin to include a custom made single sign-on. I

  • 0

I am writing a wordpress plugin to include a custom made single sign-on.

I have a problem I can not reproduce but it happens often: Sometimes you login, click a another page and this page keeps loading for ever. Also all other request from the same session will stuck from this time. Restarting apache fixes it but is not a real solution.

The server has not a lot traffic so only a few apache processes are running. If I dig into them I see many stucked with semop:

(gdb) bt
#0  0x00002af60c22b2d7 in semop () from /lib64/libc.so.6
#1  0x00002af60bbf612c in ?? () from /usr/lib64/libapr-1.so.0
#2  0x000055555559e614 in ?? () from /usr/sbin/httpd2-prefork
#3  0x000055555559e9ea in ?? () from /usr/sbin/httpd2-prefork
#4  0x000055555559f25d in ap_mpm_run () from /usr/sbin/httpd2-prefork
#5  0x000055555557a080 in main () from /usr/sbin/httpd2-prefork

looks like they are waiting for a file:

strace -p 3069
....
read(7, 0x7fff16a04df7, 1)              = -1 EAGAIN (Resource temporarily unavailable)
semop(286162952, 0x2af60bd07dc0, 1 <unfinished ...>

read(7 ,..) points to a pipe:

# ls -la /proc/3069/fd/7
lr-x------ 1 root   root 64 Nov  7 17:24 7 -> pipe:[157329520]

That pipe is used by all the apache processes:

# lsof | grep 157329520
httpd2-pr  2430       root    7r     FIFO                0,5             157329520 pipe
httpd2-pr  2430       root    8w     FIFO                0,5             157329520 pipe
httpd2-pr  3061     wwwrun    7r     FIFO                0,5             157329520 pipe
httpd2-pr  3061     wwwrun    8w     FIFO                0,5             157329520 pipe
...

It might be not related to the problem but I still wounder what kind of pipe this is.

People here are guessing it’s not a server problem after all but from what I see in the backtrace PHP is not even called yet. No libphp5.so at all.

I would love to post some PHP code for you to look at, but I just don’t know which part… My script makes a curl call to another script in the same session. Maybe this is creating some kind of blocking? Or could it be https problem?

I really can’t tell if it is PHP or Apache but the key to the problem might be to understand what apache is doing here.

Any idea how to fix or debug this?

  • 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-14T01:52:50+00:00Added an answer on June 14, 2026 at 1:52 am

    In the strace output it looks like it is waiting for file-pointer number seven. You can find out which file this is by looking for a line like

    open("/foo/bar", ......)     = 7
    

    somewhere before the read call.

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

Sidebar

Related Questions

I'm writing a wordpress plugin but I can not set the page template manually
I'm writing a plugin but I have a problem. When Wordpress is displaying posts
Hi i have a strange problem with a WordPress plugin that i am writing,
I am writing a plugin for WordPress but I can't seem to get my
I am writing a very small wordpress plugin but I seem to be having
I'm writing a plugin for Wordpress developers that allows a dev to include my
I am writing a WordPress plugin which will include default text (i.e. a text
assuming that i'm writing a wordpress plugin. now i want its includes and include
I'm writing a wordpress plugin and I have a hook for everytime the publisher
i'm writing my first plugin for wordpress and i have some doubts regarding the

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.