Table of Contents

Optimizing N4V for Webi HTML generation and SFTP transfers

Anonymised summary of support ticket #867684 (2025-08-28)

Symptom

Slow HTML generation performance and high CPU usage in NodeJS during parallel Webi report publications. Issues with SFTP connection saturation, unclosed connections, and excessive CE_WORKS cleanup operations.

Environment

N4V for Webi (Need4Viz extensions) integrated with SAP BusinessObjects Web Intelligence, NodeJS, Tomcat, and SFTP server. Tested with parallel publications (up to 10) and multiple Webi reports (up to 40 in parallel).

Resolution

  1. Disable cluster mode for N4V services to isolate issues (switch to single-node mode).
  2. Verify SFTP configuration (ensure SFTP is used instead of FTP) and adjust connection limits (default 15, increased to 100 in later fixes).
  3. Apply HotFixes (e.g., 2025.1.2, 2025.1.9) to address SFTP connection leaks, optimize file handling, and reduce CE_WORKS cleanup overhead.
  4. Monitor SFTP server performance using provided Linux scripts to tune N4V parameters (e.g., max connections, async transfers).
  5. Test with updated configurations and validate HTML generation completeness and performance improvements.

Other resolution

Key optimizations included: removing temporary file storage, enabling asynchronous SFTP transfers, and offloading CE_WORKS cleanup to less critical nodes (e.g., RDF). Performance gains observed: 20-80% reduction in generation time for large volumes (e.g., 200,000 HTML files processed in ~30 minutes vs. ~1 hour).