Skip to content

Conversation

haowangludx
Copy link

Summary:
UNIX socket has limit on socket name to be 108, there are tupperware task that has longer than 108 characters.

This diff

  • truncates the construction of DynoIPCLogger to last 106 bytes of the tw task name, because the region/cluster info is usually not useful for identifying the task
  • change the matching logic in GPU and Task module to be sub-string

Reviewed By: jj10306

Differential Revision: D44050720

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Mar 22, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44050720

haowangludx pushed a commit to haowangludx/dynolog-1 that referenced this pull request Mar 23, 2023
…incubator#121)

Summary:
Pull Request resolved: facebookincubator#121

UNIX socket has limit on socket name to be 108, there are tupperware task that has longer than 108 characters.

This diff
- truncates the construction of DynoIPCLogger to last 106 bytes of the tw task name, because the region/cluster info is usually not useful for identifying the task
- change the matching logic in GPU and Task module to be sub-string

Reviewed By: jj10306

Differential Revision: D44050720

fbshipit-source-id: 455cdf2dc687d85e81b872ab3fa02405a0b5e7df
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44050720

haowangludx pushed a commit to haowangludx/dynolog-1 that referenced this pull request Mar 23, 2023
…incubator#121)

Summary:
Pull Request resolved: facebookincubator#121

UNIX socket has limit on socket name to be 108, there are tupperware task that has longer than 108 characters.

This diff
- truncates the construction of DynoIPCLogger to last 106 bytes of the tw task name, because the region/cluster info is usually not useful for identifying the task
- change the matching logic in GPU and Task module to be sub-string

Reviewed By: jj10306

Differential Revision: D44050720

fbshipit-source-id: 9518db8df5a7a140fc049ba71af2ee659f910f8e
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44050720

haowangludx pushed a commit to haowangludx/dynolog-1 that referenced this pull request Mar 23, 2023
…incubator#121)

Summary:
Pull Request resolved: facebookincubator#121

UNIX socket has limit on socket name to be 108, there are tupperware task that has longer than 108 characters.

This diff
- truncates the construction of DynoIPCLogger to last 106 bytes of the tw task name, because the region/cluster info is usually not useful for identifying the task
- change the matching logic in GPU and Task module to be sub-string

Reviewed By: jj10306

Differential Revision: D44050720

fbshipit-source-id: 98b2e2d80631f0c96bc7d107fc45b416a729bd39
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44050720

haowangludx pushed a commit to haowangludx/dynolog-1 that referenced this pull request Mar 23, 2023
…incubator#121)

Summary:
Pull Request resolved: facebookincubator#121

UNIX socket has limit on socket name to be 108, there are tupperware task that has longer than 108 characters.

This diff
- truncates the construction of DynoIPCLogger to last 106 bytes of the tw task name, because the region/cluster info is usually not useful for identifying the task
- change the matching logic in GPU and Task module to be sub-string

Reviewed By: jj10306

Differential Revision: D44050720

fbshipit-source-id: ccbcd68c6c4e50d4cefc0f54b872b2879b0124d4
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44050720

…incubator#121)

Summary:
Pull Request resolved: facebookincubator#121

UNIX socket has limit on socket name to be 108, there are tupperware task that has longer than 108 characters.

This diff
- truncates the construction of DynoIPCLogger to last 106 bytes of the tw task name, because the region/cluster info is usually not useful for identifying the task
- change the matching logic in GPU and Task module to be sub-string

Reviewed By: jj10306

Differential Revision: D44050720

fbshipit-source-id: df4e820db261a1e2a2952f360408ef8d60bf8f16
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D44050720

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6d9eba9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants