Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
d9290041b5
commit
723dae312f
|
@ -86,30 +86,6 @@ sudo -u git -H bundle exec rails runner -e production "user = User.first; puts u
|
|||
sudo -u git -H bundle exec rails runner -e production /path/to/script.rb
|
||||
```
|
||||
|
||||
## Advanced Issues
|
||||
|
||||
For more advanced issues, there are some tools you can enable to assist with your debugging process.
|
||||
|
||||
### rbtrace
|
||||
|
||||
<!-- vale gitlab.Spelling = YES -->
|
||||
|
||||
GitLab 11.2 ships with [`rbtrace`](https://github.com/tmm1/rbtrace), which
|
||||
allows you to trace Ruby code, view all running threads, take memory dumps,
|
||||
and more. However, this is not enabled by default. To enable it, define the
|
||||
`ENABLE_RBTRACE` variable to the environment. For example, in Omnibus:
|
||||
|
||||
```ruby
|
||||
gitlab_rails['env'] = {"ENABLE_RBTRACE" => "1"}
|
||||
```
|
||||
|
||||
Then reconfigure the system and restart Puma and Sidekiq. To run this
|
||||
in Omnibus, run as root:
|
||||
|
||||
```ruby
|
||||
/opt/gitlab/embedded/bin/ruby /opt/gitlab/embedded/bin/rbtrace
|
||||
```
|
||||
|
||||
## More information
|
||||
|
||||
- [Debugging Stuck Ruby Processes](https://newrelic.com/blog/best-practices/debugging-stuck-ruby-processes-what-to-do-before-you-kill-9)
|
||||
|
|
|
@ -120,7 +120,7 @@ the following table) as these were used for development and testing:
|
|||
| GitLab version | Minimum PostgreSQL version |
|
||||
|----------------|----------------------------|
|
||||
| 13.0 | 11 |
|
||||
| 14.0 | 12.10 |
|
||||
| 14.0 | 12.7 |
|
||||
| 15.0 | 12.10 |
|
||||
| 16.0 (planned) | 13.6 |
|
||||
|
||||
|
|
|
@ -1127,7 +1127,7 @@ When Geo is enabled, LFS objects fail to be saved for imported or mirrored proje
|
|||
### PostgreSQL segmentation fault issue
|
||||
|
||||
If you run GitLab with external PostgreSQL, particularly AWS RDS, ensure you upgrade PostgreSQL
|
||||
to patch levels to a minimum of 12.10 or 13.3 before upgrading to GitLab 14.8 or later.
|
||||
to patch levels to a minimum of 12.7 or 13.3 before upgrading to GitLab 14.8 or later.
|
||||
|
||||
[In 14.8](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75511)
|
||||
for GitLab Enterprise Edition and [in 15.1](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/87983)
|
||||
|
|
Loading…
Reference in New Issue