Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
slapos.package
Commits
b62337b2
Commit
b62337b2
authored
Mar 06, 2013
by
Jean-Baptiste Petre
Committed by
Cédric de Saint Martin
Mar 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
force reboot after kernel panic
parent
d03aed64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
slapprepare/slapprepare/script/slapos
slapprepare/slapprepare/script/slapos
+3
-0
No files found.
slapprepare/slapprepare/script/slapos
View file @
b62337b2
...
@@ -156,6 +156,9 @@ sysctl -w fs.aio-max-nr=16777216
...
@@ -156,6 +156,9 @@ sysctl -w fs.aio-max-nr=16777216
# Increase semaphore limits
# Increase semaphore limits
sysctl
-w
kernel.sem
=
"1250 256000 100 1024"
sysctl
-w
kernel.sem
=
"1250 256000 100 1024"
# Force reboot after kernel panic
sysctl
-w
kernel.panic
=
120
# Enable noop scheduler for disk which have SLAPOS labeled partition
# Enable noop scheduler for disk which have SLAPOS labeled partition
disk
=
`
blkid
-L
SLAPOS |
sed
-r
-e
's/(\/dev\/|[0-9]*$)//g'
`
disk
=
`
blkid
-L
SLAPOS |
sed
-r
-e
's/(\/dev\/|[0-9]*$)//g'
`
echo
noop
>
/sys/block/
$disk
/queue/scheduler
echo
noop
>
/sys/block/
$disk
/queue/scheduler
...
...
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