Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4011d586
Commit
4011d586
authored
Nov 27, 2020
by
Katrin Leinweber
Committed by
Achilleas Pipinellis
Nov 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Troubleshoot NFS requests with bash and perf
parent
8d2e4071
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
doc/administration/nfs.md
doc/administration/nfs.md
+14
-9
No files found.
doc/administration/nfs.md
View file @
4011d586
...
...
@@ -402,14 +402,19 @@ Additionally, this configuration is specifically warned against in the
For supported database architecture, see our documentation about
[
configuring a database for replication and failover
](
postgresql/replication_and_failover.md
)
.
<!--
## Troubleshooting
## Troubleshooting
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
one might have when setting this up, or when something is changed, or on upgrading, it's
important to describe those, too. Think of things that may go wrong and include them here.
This is important to minimize requests for support, and to avoid doc comments with
questions that you know someone might ask.
### Finding the requests that are being made to NFS
Each scenario can be a third-level heading, e.g.
`### Getting error message X`
.
If you have none to add when creating a doc, leave this section in place
but commented out to help encourage others to add to it in the future. -->
In case of NFS-related problems, it can be helpful to trace
the filesystem requests that are being made by using
`perf`
:
```
shell
sudo
perf trace
-e
'nfs4:*'
-p
$(
pgrep
-fd
','
puma
&&
pgrep
-fd
','
unicorn
)
```
On Ubuntu 16.04, use:
```
shell
sudo
perf trace
--no-syscalls
--event
'nfs4:*'
-p
$(
pgrep
-fd
','
puma
&&
pgrep
-fd
','
unicorn
)
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment