1
Q

What is the purpose of process limits?

A

To prevent individual programs from overconsuming system resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why are process limits important?

A

They ensure system stability and responsiveness.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are key process limits?

A

CPU Time, Memory Usage, Stack Size, Number of Open File Descriptors, and Core File Size.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does CPU Time limit define?

A

Total seconds a process may run on the CPU.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happens when CPU time is exhausted?

A

The kernel stops the process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why limit CPU time?

A

Prevents single tasks from monopolizing CPU and helps with capacity planning.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does Memory Usage limit do?

A

Sets upper limit on a process’s virtual address space including RAM and swap.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is swap space?

A

Disk area used as RAM overflow.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why limit memory usage?

A

Protects against memory leaks and runaway applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does Stack Size limit control?

A

Memory reserved for a process’s call stack.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is stored in the call stack?

A

Return addresses, parameters, and local variables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Why limit stack size?

A

Prevents memory corruption and crashes from deep recursion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a file descriptor?

A

An integer referencing an open file, socket, or pipe.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why limit number of open file descriptors?

A

Prevents errors like ‘too many open files’ and resource exhaustion.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What happens if file descriptor limit is exceeded?

A

May lead to dropped connections or data loss.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Why monitor file descriptors?

A

To detect leaks from unclosed descriptors and optimize resource management.

17
Q

What does Core File Size limit control?

A

Whether and how large a crash memory dump file will be.

18
Q

Why limit core file size?

A

Balances diagnostic needs and storage usage.

19
Q

Why are core dumps useful?

A

For post-crash debugging.

20
Q

What risk do unrestricted core dumps pose?

A

They can quickly consume disk space.