Skip to content

Conversation

@markmatney
Copy link

While running A/V Pairtree in production for the first time, I observed that the audiowaveform processes were getting stuck in the "interruptible sleep" state. I determined that they were simply waiting for I/O to complete (i.e., for their output to be read by the parent process); from the docs:

Because some native platforms only provide limited buffer size for standard input and output streams, failure to promptly write the input stream or read the output stream of the process may cause the process to block, or even deadlock.

I guess this is why. Interestingly, the automated tests didn't catch this -- anyone have an idea why?

Anyway, I've manually tested this change locally and on our "prod" machine, and can confirm that it actually works now.

Also, the debug logging is a bit more verbose now (stderr provides interesting stats about the audiowaveform conversion).

@markmatney markmatney requested review from a team, DRickard and ksclarke and removed request for a team June 19, 2021 01:23
@markmatney markmatney self-assigned this Jun 19, 2021
@markmatney markmatney added the bug Something isn't working label Jun 19, 2021
@markmatney markmatney merged commit c59e900 into main Jun 21, 2021
@markmatney markmatney deleted the SERV-126-slight-return branch June 21, 2021 16:57
angelahuqing added a commit that referenced this pull request Mar 17, 2023
# This is the 1st commit message:

SERV-505 Added jobsQueue to watcherVerticle

# This is the commit message #2:

[SERV-505] Addition of JobsQueue Class and Test

# This is the commit message #3:

[SERV-505] Consistency update to CsvItemTest.java

# This is the commit message #4:

[SERV-505] Cleaned up JobsQueue code

# This is the commit message #5:

[SERV-505] Completion of JobsQueue functionality and added to WatcherVerticle

# This is the commit message #6:

[SERV-505] Added in messages

# This is the commit message #7:

[SERV-505] Fix checkstyle and delete unnecessary files

# This is the commit message #8:

[SERV-505] Fixed checkstyle violations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants